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

Method draw

lib/matplotlib/backends/backend_qt.py:484–492  ·  view source on GitHub ↗

Render the figure, and queue a request for a Qt draw.

(self)

Source from the content-addressed store, hash-verified

482 self._event_loop.quit()
483
484 def draw(self):
485 """Render the figure, and queue a request for a Qt draw."""
486 # The renderer draw is done here; delaying causes problems with code
487 # that uses the result of the draw() to update plot elements.
488 if self._is_drawing:
489 return
490 with cbook._setattr_cm(self, _is_drawing=True):
491 super().draw()
492 self.update()
493
494 def draw_idle(self):
495 """Queue redraw of the Agg buffer and request Qt paintEvent."""

Callers 1

_draw_idleMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected