From 34b86a517d4d6ed59b4734cbaf810a5dade74936 Mon Sep 17 00:00:00 2001 From: Jiahao Chen <1732+jiahao@users.noreply.github.com> Date: Mon, 11 May 2020 23:03:21 -0400 Subject: [PATCH] yticks: Fix typos xticks -> yticks in docstring of pyplot.yticks() --- lib/matplotlib/pyplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.