There was an error while loading. Please reload this page.
1 parent c553f8c commit d138cdaCopy full SHA for d138cda
1 file changed
lib/matplotlib/figure.py
@@ -1351,6 +1351,7 @@ def subplots(self, nrows=1, ncols=1, sharex=False, sharey=False,
1351
else:
1352
# this should turn constrained_layout off if we don't want it
1353
gs = GridSpec(nrows, ncols, figure=None, **gridspec_kw)
1354
+ self._gridspecs.append(gs)
1355
1356
# Create array to hold all axes.
1357
axarr = np.empty((nrows, ncols), dtype=object)
0 commit comments