InverseScale

class InverseScale(axis, **kwargs)[source]

Bases: proplot.axistools._ScaleBase, matplotlib.scale.ScaleBase

Scales axis to be linear in the inverse of x. The scale function and inverse scale function are as follows.

\[y = x^{-1}\]
Parameters

axis (Axis) – The matplotlib axis. Required for compatibility reasons.

Attributes Summary

name

The registered scale name.

Methods Summary

limit_range_for_scale(vmin, vmax, minpos)

Returns the range vmin and vmax limited to positive numbers.