From f52c17ea71fe1a26fa446e304e011c28160004cc Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 12 May 2020 00:09:34 -0400 Subject: [PATCH] Backport PR #17383: yticks: Fix typos --- 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 1d28260ef328..ce66e672a100 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -1500,7 +1500,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.