LogScale¶
-
class
LogScale
(**kwargs)[source]¶ Bases:
proplot.axistools._ScaleBase
,matplotlib.scale.LogScale
As with
LogScale
but withAutoFormatter
as the default major formatter. Also, “x
” and “y
” versions of each keyword argument are no longer required.- Parameters
base (float, optional) – The base of the logarithm. Default is
10
.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 (list 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.
Attributes Summary
The registered scale name.