Fix for the custom scale example

I have not checked, if this is the only place that needs fixing. Maybe there are other places in matplotlib or the examples that are affected.