Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b6c490 commit d79498bCopy full SHA for d79498b
1 file changed
lib/matplotlib/gridspec.py
@@ -555,6 +555,7 @@ def __init__(self, nrows, ncols,
555
self._wspace = wspace
556
self._hspace = hspace
557
self._subplot_spec = subplot_spec
558
+ self.figure = self._subplot_spec.get_gridspec().figure
559
GridSpecBase.__init__(self, nrows, ncols,
560
width_ratios=width_ratios,
561
height_ratios=height_ratios)
0 commit comments