LogScale

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

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

As with LogScale, but applies new default major formatter and fixes the inexplicable choice to have separate “x” and “y” versions of each keyword argument.

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 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.

  • basex, basey, nonposx, nonposy, subsx, subsy – Aliases for the above keywords. These used to be conditional on the name of the axis…… yikes.

Attributes Summary

name

The registered scale name.