Skip to content

Commit f2e0b3c

Browse files
committed
Clarify that set_ticks() affects major/minor ticks independently
Closes matplotlib#27701.
1 parent 810a43b commit f2e0b3c

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)