LogScale¶
- class LogScale(**kwargs)[source]¶
Bases:
proplot.scale._Scale,matplotlib.scale.LogScaleAs with
LogScalebut withAutoFormatteras the default major formatter.xandyversions of each keyword argument are no longer required.- Parameters
base (
float, optional) – The base of the logarithm. Default is10.nonpos (
{'mask', 'clip'}, optional) – Non-positive values in x or y can be masked as invalid, or clipped to a very small positive number.subs (sequence of
int, optional) – Default minor tick locations are on these multiples of each power of the base. For example,subs=(1, 2, 5)draws ticks on 1, 2, 5, 10, 20, 50, etc. The default issubs=numpy.arange(1, 10).basex, basey, nonposx, nonposy, subsx, subsy – Aliases for the above keywords. These used to be conditional on the name of the axis.