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

Function start_anim

galleries/examples/event_handling/pong_sgskip.py:315–320  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

313
314# bootstrap after the first draw
315def start_anim(event):
316 canvas.mpl_disconnect(start_anim.cid)
317
318 start_anim.timer.add_callback(animation.draw)
319 start_anim.timer.start()
320 canvas.mpl_connect('draw_event', on_redraw)
321
322
323start_anim.cid = canvas.mpl_connect('draw_event', start_anim)

Callers

nothing calls this directly

Calls 4

mpl_disconnectMethod · 0.80
mpl_connectMethod · 0.80
add_callbackMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…