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

Skip to content

Commit 0df677a

Browse files
authored
Merge pull request #17876 from Vineyard-w/patch-1
Update pyplot.py
2 parents 9e519eb + 53174ad commit 0df677a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,9 +1366,9 @@ def subplot2grid(shape, loc, rowspan=1, colspan=1, fig=None, **kwargs):
13661366
loc : (int, int)
13671367
Row number and column number of the axis location within the grid.
13681368
rowspan : int, default: 1
1369-
Number of rows for the axis to span to the right.
1369+
Number of rows for the axis to span downwards.
13701370
colspan : int, default: 1
1371-
Number of columns for the axis to span downwards.
1371+
Number of columns for the axis to span to the right.
13721372
fig : `.Figure`, optional
13731373
Figure to place the subplot in. Defaults to the current figure.
13741374
**kwargs

0 commit comments

Comments
 (0)