matplotlib.scale
Scales define the distribution of data values on an axis, e.g. a log scaling. They are defined as subclasses of ScaleBase.
See also .axes.Axes.set_xscale and the scales examples in the documentation.
See /gallery/scales/custom_scale for a full example of defining a custom scale.
Matplotlib also supports non-separable transformations that operate on both ~.axis.Axis at the same time. They are known as projections, and defined in matplotlib.projections.