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

Method get_extents

lib/matplotlib/patches.py:307–311  ·  view source on GitHub ↗

Return the `Patch`'s axis-aligned extents as a `~.transforms.Bbox`.

(self)

Source from the content-addressed store, hash-verified

305 self._transformSet = other.is_transform_set()
306
307 def get_extents(self):
308 """
309 Return the `Patch`'s axis-aligned extents as a `~.transforms.Bbox`.
310 """
311 return self.get_path().get_extents(self.get_transform())
312
313 def get_transform(self):
314 """Return the `~.transforms.Transform` applied to the `Patch`."""

Callers 1

get_window_extentMethod · 0.45

Calls 2

get_pathMethod · 0.95
get_transformMethod · 0.95

Tested by

no test coverage detected