8000 Add explanation linking to previous behavior. · matplotlib/matplotlib@50a9695 · GitHub
[go: up one dir, main page]

Skip to content

Commit 50a9695

Browse files
authored
Add explanation linking to previous behavior.
1 parent 2188177 commit 50a9695

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Ability to scale axis by a fixed order of magnitude
22
---------------------------------------------------
33

4-
To scale an axis by a fixed order of magnitude, set the *scilimits* argument of
5-
``Axes.ticklabel_format`` to the same (non-zero) lower and upper limits. Say to scale
4+
To scale an axis by a fixed order of magnitude, set the *scilimits* argument of
5+
``Axes.ticklabel_format`` to the same (non-zero) lower and upper limits. Say to scale
66
the y axis by a million (1e6), use ``ax.ticklabel_format(style='sci', scilimits=(6, 6), axis='y')``.
7+
8+
The behavior of ``scilimits=(0, 0)`` is unchanged. With this setting, matplotlib will adjust
9+
the order of magnitude depending on the y values, rather than keeping it fixed. Previously, setting
10+
``scilimits=(m, m)`` was equivalent to setting ``scilimits=(0, 0)``.

0 commit comments

Comments
 (0)
0