diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index fcfb4b3f69a6..120a888a4183 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -1513,7 +1513,7 @@ def yticks(ticks=None, labels=None, **kwargs): Parameters ---------- ticks : array-like, optional - The list of xtick locations. Passing an empty list removes all xticks. + The list of ytick locations. Passing an empty list removes all yticks. labels : array-like, optional The labels to place at the given *ticks* locations. This argument can only be passed if *ticks* is passed as well.