matplotlib 3.5.1

ParametersBackRef
set_powerlimits(self, lims)

Parameters

lims : (int, int)

A tuple (min_exp, max_exp) containing the powers of 10 that determine the switchover threshold. For a number representable as $a \times 10^\mathrm{exp}'$ with $1 <= |a| < 10$ , scientific notation will be used if exp <= min_exp or exp >= max_exp .

The default limits are controlled by axes.formatter.limits .

In particular numbers with exp equal to the thresholds are written in scientific notation.

Typically, min_exp will be negative and max_exp will be positive.

For example, formatter.set_powerlimits((-3, 4)) will provide the following formatting: $1 \times 10^{-3}, 9.9 \times 10^{-3}, 0.01,$ $9999, 1 \times 10^4$ .

Set size thresholds for scientific notation.

See Also

ScalarFormatter.set_scientific

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib.ticker.ScalarFormatter.set_scientific matplotlib.ticker.ScalarFormatter

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/ticker.py#599
type: <class 'function'>
Commit: