MCPcopy Create free account
hub / github.com/MorvanZhou/tutorials / init

Function init

matplotlibTUT/plt19_animation.py:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33# Init only required for blitting to give a clean slate.
34def init():
35 line.set_ydata(np.sin(x))
36 return line,
37
38# call the animator. blit=True means only re-draw the parts that have changed.
39# blit=True dose not work on Mac, set blit=False

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected