MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_window_extent

Method get_window_extent

lib/matplotlib/image.py:922–925  ·  view source on GitHub ↗
(self, renderer=None)

Source from the content-addressed store, hash-verified

920 )
921
922 def get_window_extent(self, renderer=None):
923 x0, x1, y0, y1 = self._extent
924 bbox = Bbox.from_extents([x0, y0, x1, y1])
925 return bbox.transformed(self.get_transform())
926
927 def make_image(self, renderer, magnification=1.0, unsampled=False):
928 # docstring inherited

Callers

nothing calls this directly

Calls 3

from_extentsMethod · 0.80
transformedMethod · 0.45
get_transformMethod · 0.45

Tested by

no test coverage detected