File tree 2 files changed +6
-5
lines changed 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ How to prevent ticklabels from having an offset
44
44
-----------------------------------------------
45
45
The default formatter will use an offset to reduce
46
46
the length of the ticklabels. To turn this feature
47
- off::
47
+ off on a per-axis basis ::
48
48
ax.get_xaxis().get_major_formatter().set_useOffset(False)
49
49
50
- or use a different formatter. See :mod: ` ~matplotlib.ticker `
51
- for details.
50
+ set the rcParam `` axes. formatter.useoffset ``, or use a different
51
+ formatter. See :mod: ` ~matplotlib.ticker ` for details.
52
52
53
53
.. _howto-transparent :
54
54
Original file line number Diff line number Diff line change 26
26
27
27
ax.get_xaxis().get_major_formatter().set_useOffset(False)
28
28
29
- or set a different formatter.
29
+ set the rcParam ``axes.formatter.useoffset=False`` to turn it off
30
+ globally, or set a different formatter.
30
31
31
32
Tick locating
32
33
-------------
62
63
intelligent ticking during navigation
63
64
64
65
:class:`MaxNLocator`
65
- finds up to a max number of ticks at nice locations
66
+ finds up to a max number of ticks at nice locations
66
67
67
68
:class:`AutoLocator`
68
69
:class:`MaxNLocator` with simple defaults. This is the default
You can’t perform that action at this time.
0 commit comments