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

Function init

code/plots/circle_ellipse.py:42–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 A_values = np.hstack([np.linspace(0.1, 0.9, 100),
41 np.linspace(0.9, 0.1, 100)])
42 def init():
43 ax.set_xlim(-1, 1)
44 ax.set_ylim(-1, 1)
45 ax.set_aspect('equal')
46 return curve,
47 def update(A):
48 x = A*np.cos(T)
49 y = np.sin(T)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected