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

Function crashing_callback

lib/matplotlib/tests/test_backend_qt.py:274–277  ·  view source on GitHub ↗
(fig, stale)

Source from the content-addressed store, hash-verified

272 called = False
273
274 def crashing_callback(fig, stale):
275 nonlocal called
276 fig.canvas.draw_idle()
277 called = True
278
279 fig, ax = plt.subplots()
280 fig.stale_callback = crashing_callback

Callers

nothing calls this directly

Calls 1

draw_idleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…