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

Method draw

lib/matplotlib/backends/backend_macosx.py:49–57  ·  view source on GitHub ↗

Render the figure and update the macosx canvas.

(self)

Source from the content-addressed store, hash-verified

47 self._timers = set()
48
49 def draw(self):
50 """Render the figure and update the macosx canvas."""
51 # The renderer draw is done here; delaying causes problems with code
52 # that uses the result of the draw() to update plot elements.
53 if self._is_drawing:
54 return
55 with cbook._setattr_cm(self, _is_drawing=True):
56 super().draw()
57 self.update()
58
59 def draw_idle(self):
60 # docstring inherited

Callers 1

_draw_idleMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected