Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c7ac58

Browse files
committed
DOC: tweak ticker.py module docs
1 parent de5f1c4 commit 9c7ac58

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

lib/matplotlib/ticker.py

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -37,47 +37,48 @@
3737
3838
The Locator subclasses defined here are
3939
40-
:class:`NullLocator`
41-
No ticks.
40+
:class:`AutoLocator`
41+
`MaxNLocator` with simple defaults. This is the default tick locator for
42+
most plotting.
43+
44+
:class:`MaxNLocator`
45+
Finds up to a max number of intervals with ticks at nice locations.
46+
47+
:class:`LinearLocator`
48+
Space ticks evenly from min to max.
49+
50+
:class:`LogLocator`
51+
Space ticks logarithmically from min to max.
52+
53+
:class:`MultipleLocator`
54+
Ticks and range are a multiple of base; either integer or float.
4255
4356
:class:`FixedLocator`
4457
Tick locations are fixed.
4558
4659
:class:`IndexLocator`
4760
Locator for index plots (e.g., where ``x = range(len(y))``).
4861
49-
:class:`LinearLocator`
50-
Evenly spaced ticks from min to max.
51-
52-
:class:`LogLocator`
53-
Logarithmically ticks from min to max.
62+
:class:`NullLocator`
63+
No ticks.
5464
5565
:class:`SymmetricalLogLocator`
5666
Locator for use with with the symlog norm; works like `LogLocator` for the
57-
part outside of the threshold and add 0 if inside the limits.
67+
part outside of the threshold and adds 0 if inside the limits.
5868
59-
:class:`MultipleLocator`
60-
Ticks and range are a multiple of base; either integer or float.
69+
:class:`LogitLocator`
70+
Locator for logit scaling.
6171
6272
:class:`OldAutoLocator`
63-
Choose a `MultipleLocator` and dyamically reassign it for intelligent
73+
Choose a `MultipleLocator` and dynamically reassign it for intelligent
6474
ticking during navigation.
6575
66-
:class:`MaxNLocator`
67-
Finds up to a max number of ticks at nice locations.
68-
69-
:class:`AutoLocator`
70-
`MaxNLocator` with simple defaults. This is the default tick locator for
71-
most plotting.
72-
7376
:class:`AutoMinorLocator`
7477
Locator for minor ticks when the axis is linear and the
7578
major ticks are uniformly spaced. Subdivides the major
7679
tick interval into a specified number of minor intervals,
7780
defaulting to 4 or 5 depending on the major interval.
7881
79-
:class:`LogitLocator`
80-
Locator for logit scaling.
8182
8283
There are a number of locators specialized for date locations - see
8384
the `dates` module.

0 commit comments

Comments
 (0)