Axes.get_window_extent(self, *args, **kwargs)
This bounding box does not include the spines, ticks, ticklables, or other labels. For a bounding box including these elements use get_tightbbox.