| [ Web Proxy ] |
| Viewing: https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.ticklabel_format.html | [Back] [Original] |
Configure the ScalarFormatter used by default for linear Axes.
If a parameter is not set, the corresponding property of the formatter is left unchanged.
The axis to configure. Only major ticks are affected.
Whether to use scientific notation. The formatter default is to use scientific notation. 'sci' is equivalent to 'scientific'.
Scientific notation is used only for numbers outside the range
10m to 10n (and only if the formatter is
configured to use scientific notation at all). Use (0, 0) to
include all numbers. Use (m, m) where m != 0 to fix the order of
magnitude to 10m.
The formatter default is rcParams["axes.formatter.limits"] (default: [-5, 6]).
If True, the offset is calculated as needed.
If False, no offset is used.
If a numeric value, it sets the offset.
The formatter default is rcParams["axes.formatter.useoffset"] (default: True).
Whether to format the number using the current locale or using the
C (English) locale. This affects e.g. the decimal separator. The
formatter default is rcParams["axes.formatter.use_locale"] (default: False).
Render the offset and scientific notation in mathtext.
The formatter default is rcParams["axes.formatter.use_mathtext"] (default: False).
If the current formatter is not a ScalarFormatter.
matplotlib.axes.Axes.ticklabel_format#| Web Proxy Viewer | New URL | Original Page |