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

Method draw_all

lib/matplotlib/_pylab_helpers.py:126–133  ·  view source on GitHub ↗

Redraw all stale managed figures, or, if *force* is True, all managed figures.

(cls, force=False)

Source from the content-addressed store, hash-verified

124
125 @classmethod
126 def draw_all(cls, force=False):
127 """
128 Redraw all stale managed figures, or, if *force* is True, all managed
129 figures.
130 """
131 for manager in cls.get_all_fig_managers():
132 if force or manager.canvas.figure.stale:
133 manager.canvas.draw_idle()
134
135
136atexit.register(Gcf.destroy_all)

Callers 1

test_text_staleFunction · 0.80

Calls 2

get_all_fig_managersMethod · 0.80
draw_idleMethod · 0.45

Tested by 1

test_text_staleFunction · 0.64