Version 6.6.6
matplotlib
Fork me on GitHub

Previous topic

Allow "real" LaTeX code for pgf.preamble and text.latex.preamble in matplotlib rc file

Next topic

Add cache_frame_data keyword-only argument into matplotlib.animation.FuncAnimation

New FuncScale added for arbitrary axes scalesΒΆ

A new FuncScale class was added (and FuncTransform) to allow the user to have arbitrary scale transformations without having to write a new subclass of ScaleBase. This can be accessed by ax.set_yscale('function', functions=(forward, inverse)), where forward and inverse are callables that return the scale transform and its inverse. See the last example in Scales.