There is a function register_scale in matplotlib.scale but no counterpart unregister_scale or deregister_scale. It would be useful in cases like this one where a custom scale is created for just one plot. Currently, there is no way to clean up after that single plot is drawn.
There is a function
register_scaleinmatplotlib.scalebut no counterpartunregister_scaleorderegister_scale. It would be useful in cases like this one where a custom scale is created for just one plot. Currently, there is no way to clean up after that single plot is drawn.