MCPcopy Create free account
hub / github.com/Apress/python-for-matlab-development / update

Function update

code/plots/circle_ellipse.py:47–51  ·  view source on GitHub ↗
(A)

Source from the content-addressed store, hash-verified

45 ax.set_aspect('equal')
46 return curve,
47 def update(A):
48 x = A*np.cos(T)
49 y = np.sin(T)
50 curve, = plt.plot(x,y,'b')
51 return curve,
52 ani = FuncAnimation(fig, update, A_values,
53 interval=20, # milliseconds
54 init_func=init, blit=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected