SymmetricalLogScale

class SymmetricalLogScale(**kwargs)[source]

Bases: _Scale, SymmetricalLogScale

As with SymmetricalLogScale but with AutoFormatter as the default major formatter. x and y versions of each keyword argument are no longer required.

Parameters
  • base (float, default: 10) – The base of the logarithm.

  • linthresh (float, default: 1) – Defines the range (-linthresh, linthresh), within which the plot is linear. This avoids having the plot go to infinity around zero.

  • linscale (float, default: 1) – This allows the linear range (-linthresh, linthresh) to be stretched relative to the logarithmic range. Its value is the number of decades to use for each half of the linear range. For example, when linscale is 1 (the default), the space used for the positive and negative halves of the linear range will be equal to one decade in the logarithmic range.

  • 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, linthreshx, linthreshy, linscalex, linscaley, subsx, subsy – Aliases for the above keywords. These keywords used to be conditional on the name of the axis.