Skip to content

Commit 80afa0a

Browse files
committed
Fix doc for sharey keyword in pyplot.subplots.
1 parent f1689bb commit 80afa0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/pyplot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -960,9 +960,9 @@ def subplots(nrows=1, ncols=1, sharex=False, sharey=False, squeeze=True,
960960
If a string must be one of "row", "col", "all", or "none".
961961
"all" has the same effect as *True*, "none" has the same effect
962962
as *False*.
963-
If "row", each subplot row will share a Y axis.
964-
If "col", each subplot column will share a Y axis and the y tick
965-
labels on all but the last row will have visible set to *False*.
963+
If "row", each subplot row will share a Y axis and the y tick
964+
labels on all but the first column will have visible set to *False*.
965+
If "col", each subplot column will share a Y axis.
966966
967967
*squeeze* : bool
968968
If *True*, extra dimensions are squeezed out from the

0 commit comments

Comments
 (0)