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

Function animate

matplotlibTUT/plt19_animation.py:28–30  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

26
27
28def animate(i):
29 line.set_ydata(np.sin(x + i/10.0)) # update the data
30 return line,
31
32
33# Init only required for blitting to give a clean slate.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected