Skip to content

Commit 66b2833

Browse files
committed
Merge pull request #4116 from chebee7i/patch-1
DOC: Correct docstring typo in subplot2grid
2 parents 30f9def + 4d4530d commit 66b2833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/pyplot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ def subplot2grid(shape, loc, rowspan=1, colspan=1, **kwargs):
11601160
11611161
is identical to ::
11621162
1163-
gridspec=GridSpec(shape[0], shape[2])
1163+
gridspec=GridSpec(shape[0], shape[1])
11641164
subplotspec=gridspec.new_subplotspec(loc, rowspan, colspan)
11651165
subplot(subplotspec)
11661166
"""

0 commit comments

Comments
 (0)