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.