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.