Return a (tight) bounding box of the figure in inches.
Note that FigureBase differs from all other artists, which return their Bbox in pixels.
Artists that have artist.set_in_layout(False) are not included in the bbox.
RendererBase subclass
Renderer that will be used to draw the figures (i.e. fig.canvas.get_renderer())
Artist or None
List of artists to include in the tight bounding box. If None (default), then all artist children of each Axes are included in the tight bounding box.
BboxBasecontaining the bounding box (in figure inches).
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.figure.Figure.get_tightbbox.html