8000 Update pyplot.py · matplotlib/matplotlib@53174ad · GitHub
[go: up one dir, main page]

Skip to content

Commit 53174ad

Browse files
authored
Update pyplot.py
Changed the description of the subplot2grid function: rowspan : int, default: 1 Number of rows for the axis to span downwards. colspan : int, default: 1 Number of columns for the axis to span to the right.
1 parent 9e519eb commit 53174ad

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)
0