MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / extents

Method extents

site-packages/matplotlib/widgets.py:2293–2298  ·  view source on GitHub ↗

Return (xmin, xmax, ymin, ymax).

(self)

Source from the content-addressed store, hash-verified

2291
2292 @property
2293 def extents(self):
2294 """Return (xmin, xmax, ymin, ymax)."""
2295 x0, y0, width, height = self._rect_bbox
2296 xmin, xmax = sorted([x0, x0 + width])
2297 ymin, ymax = sorted([y0, y0 + height])
2298 return xmin, xmax, ymin, ymax
2299
2300 @extents.setter
2301 def extents(self, extents):

Callers

nothing calls this directly

Calls 4

draw_shapeMethod · 0.95
set_dataMethod · 0.45
set_visibleMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected