On this page
matplotlib.artist.Artist.get_tightbbox
- Artist.get_tightbbox(renderer=None)[source]
-
Like
Artist.get_window_extent, but includes any clipping.- Parameters:
-
- renderer
RendererBasesubclass -
renderer that will be used to draw the figures (i.e.
fig.canvas.get_renderer())
- renderer
- Returns:
-
-
Bbox -
The enclosing bounding box (in figure pixel coordinates).
-
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.get_tightbbox.html