W3cubDocs

/Matplotlib 3.5

matplotlib.axes.Axes.get_window_extent

Axes.get_window_extent(*args, **kwargs)[source]

Return the Axes bounding box in display space; args and kwargs are empty.

This bounding box does not include the spines, ticks, ticklables, or other labels. For a bounding box including these elements use get_tightbbox.

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.axes.Axes.get_window_extent.html