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

Method _draw_polygon

lib/matplotlib/widgets.py:4346–4349  ·  view source on GitHub ↗

Redraw the polygon based on the new vertex positions.

(self)

Source from the content-addressed store, hash-verified

4344 self._polygon_handles.set_data(xs, ys)
4345
4346 def _draw_polygon(self):
4347 """Redraw the polygon based on the new vertex positions."""
4348 self._draw_polygon_without_update()
4349 self.update()
4350
4351 @property
4352 def verts(self):

Callers 8

_add_boxMethod · 0.95
_scale_polygonMethod · 0.95
_releaseMethod · 0.95
onmoveMethod · 0.95
_onmoveMethod · 0.95
_on_key_pressMethod · 0.95
_on_key_releaseMethod · 0.95
vertsMethod · 0.95

Calls 2

updateMethod · 0.45

Tested by

no test coverage detected