Skip to content

Commit 4fc36df

Browse files
authored
Merge pull request #9827 from jklymak/doc_label_plots
DOC: add more tutorial to text/text_intro
2 parents c91c8ad + cd47ecf commit 4fc36df

File tree

2 files changed

+363
-22
lines changed

2 files changed

+363
-22
lines changed

lib/matplotlib/ticker.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1804,7 +1804,11 @@ def __init__(self, *args, **kwargs):
18041804
18051805
*steps*
18061806
Sequence of nice numbers starting with 1 and ending with 10;
1807-
e.g., [1, 2, 4, 5, 10]
1807+
e.g., [1, 2, 4, 5, 10], where the values are acceptable
1808+
tick multiples. i.e. for the example, 20, 40, 60 would be
1809+
an acceptable set of ticks, as would 0.4, 0.6, 0.8, because
1810+
they are multiples of 2. However, 30, 60, 90 would not
1811+
be allowed because 3 does not appear in the list of steps.
18081812
18091813
*integer*
18101814
If True, ticks will take only integer values, provided

0 commit comments

Comments
 (0)