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

Skip to content

Commit 0182344

Browse files
authored
Merge pull request #15466 from timhoffm/doc-tick-params
Update tick_params() docs
2 parents d5767e1 + 5044660 commit 0182344

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2947,20 +2947,20 @@ def locator_params(self, axis='both', tight=None, **kwargs):
29472947
def tick_params(self, axis='both', **kwargs):
29482948
"""Change the appearance of ticks, tick labels, and gridlines.
29492949
2950+
Tick properties that are not explicitly set using the keyword
2951+
arguments remain unchanged unless *reset* is True.
2952+
29502953
Parameters
29512954
----------
2952-
axis : {'x', 'y', 'both'}, optional
2953-
Which axis to apply the parameters to.
2955+
axis : {'x', 'y', 'both'}, default: 'both'
2956+
The axis to which the parameters are applied.
2957+
which : {'major', 'minor', 'both'}, default: 'major'
2958+
The group of ticks to which the parameters are applied.
2959+
reset : bool, default: False
2960+
Whether to reset the ticks to defaults before updating them.
29542961
29552962
Other Parameters
29562963
----------------
2957-
axis : {'x', 'y', 'both'}
2958-
Axis on which to operate; default is 'both'.
2959-
reset : bool, default: False
2960-
If *True*, set all parameters to defaults before processing other
2961-
keyword arguments.
2962-
which : {'major', 'minor', 'both'}
2963-
Default is 'major'; apply arguments to *which* ticks.
29642964
direction : {'in', 'out', 'inout'}
29652965
Puts ticks inside the axes, outside the axes, or both.
29662966
length : float

0 commit comments

Comments
 (0)