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

Skip to content

Commit e7727ad

Browse files
committed
Merged revisions 8581 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8581 | leejjoon | 2010-07-27 11:52:47 -0400 (Tue, 27 Jul 2010) | 1 line fix pyplot.subplot2grid to support the projection keyword ........ svn path=/trunk/matplotlib/; revision=8582
1 parent b0ccfee commit e7727ad

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,8 +797,7 @@ def subplot2grid(shape, loc, rowspan=1, colspan=1, **kwargs):
797797
subplotspec = GridSpec(s1, s2).new_subplotspec(loc,
798798
rowspan=rowspan,
799799
colspan=colspan)
800-
a = Subplot(fig, subplotspec, **kwargs)
801-
fig.add_subplot(a)
800+
a = fig.add_subplot(subplotspec, **kwargs)
802801
bbox = a.bbox
803802
byebye = []
804803
for other in fig.axes:

0 commit comments

Comments
 (0)