There was an error while loading. Please reload this page.
1 parent 4a64f3d commit e1bd2d2Copy full SHA for e1bd2d2
1 file changed
lib/matplotlib/figure.py
@@ -1341,6 +1341,7 @@ def subplots(self, nrows=1, ncols=1, sharex=False, sharey=False,
1341
else:
1342
# this should turn constrained_layout off if we don't want it
1343
gs = GridSpec(nrows, ncols, figure=None, **gridspec_kw)
1344
+ self._gridspecs.append(gs)
1345
1346
# Create array to hold all axes.
1347
axarr = np.empty((nrows, ncols), dtype=object)
0 commit comments