Skip to content

Commit b4acccf

Browse files
committed
Minor fixes to tick docstrings
1 parent 849fa26 commit b4acccf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/matplotlib/axes/_base.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -2995,8 +2995,8 @@ def set_xticks(self, ticks, minor=False):
29952995
29962996
Parameters
29972997
----------
2998-
ticks : sequence
2999-
Sequence of ticks
2998+
ticks : list
2999+
List of x-axis tick locations
30003000
30013001
minor : bool, optional
30023002
If ``False`` sets major ticks, if ``True`` sets minor ticks.
@@ -3013,7 +3013,7 @@ def get_xmajorticklabels(self):
30133013
Returns
30143014
-------
30153015
labels : list
3016-
List of :class:`~matplotlib.text.Text` instancess
3016+
List of :class:`~matplotlib.text.Text` instances
30173017
"""
30183018
return cbook.silent_list('Text xticklabel',
30193019
self.xaxis.get_majorticklabels())
@@ -3317,7 +3317,7 @@ def set_yticks(self, ticks, minor=False):
33173317
Parameters
33183318
----------
33193319
ticks : sequence
3320-
Sequence of ticks
3320+
List of y-axis tick locations
33213321
33223322
minor : bool, optional
33233323
If ``False`` sets major ticks, if ``True`` sets minor ticks.
@@ -3333,7 +3333,7 @@ def get_ymajorticklabels(self):
33333333
Returns
33343334
-------
33353335
labels : list
3336-
List of :class:`~matplotlib.text.Text` instancess
3336+
List of :class:`~matplotlib.text.Text` instances
33373337
"""
33383338
return cbook.silent_list('Text yticklabel',
33393339
self.yaxis.get_majorticklabels())
@@ -3345,7 +3345,7 @@ def get_yminorticklabels(self):
33453345
Returns
33463346
-------
33473347
labels : list
3348-
List of :class:`~matplotlib.text.Text` instancess
3348+
List of :class:`~matplotlib.text.Text` instances
33493349
"""
33503350
return cbook.silent_list('Text yticklabel',
33513351
self.yaxis.get_minorticklabels())

0 commit comments

Comments
 (0)