Skip to content

Commit 897dd0a

Browse files
authored
Merge pull request matplotlib#27799 from timhoffm/doc-set_ticks
Clarify that set_ticks() affects major/minor ticks independently
2 parents e4e6840 + f2e0b3c commit 897dd0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2114,7 +2114,7 @@ def set_ticks(self, ticks, labels=None, *, minor=False, **kwargs):
21142114
If not set, the labels are generated using the axis tick `.Formatter`.
21152115
21162116
minor : bool, default: False
2117-
If ``False``, set the major ticks; if ``True``, the minor ticks.
2117+
If ``False``, set only the major ticks; if ``True``, only the minor ticks.
21182118
21192119
**kwargs
21202120
`.Text` properties for the labels. Using these is only allowed if

0 commit comments

Comments
 (0)