LogScale¶
- class LogScale(**kwargs)[source]¶
Bases:
_Scale
,LogScale
As with
LogScale
but withAutoFormatter
as the default major formatter.x
andy
versions of each keyword argument are no longer required.- Parameters
base (
float
, default:10
) – The base of the logarithm.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
, default:[1 2 3 4 5 6 7 8 9]
) – 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, 100, 200, 500, etc.basex, basey, nonposx, nonposy, subsx, subsy – Aliases for the above keywords. These used to be conditional on the name of the axis.
See also