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

Skip to content

Commit 34b86a5

Browse files
authored
yticks: Fix typos
xticks -> yticks in docstring of pyplot.yticks()
1 parent 05e17af commit 34b86a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ def yticks(ticks=None, labels=None, **kwargs):
15131513
Parameters
15141514
----------
15151515
ticks : array-like, optional
1516-
The list of xtick locations. Passing an empty list removes all xticks.
1516+
The list of ytick locations. Passing an empty list removes all yticks.
15171517
labels : array-like, optional
15181518
The labels to place at the given *ticks* locations. This argument can
15191519
only be passed if *ticks* is passed as well.

0 commit comments

Comments
 (0)