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

Function animate

lib/matplotlib/tests/test_animation.py:33–37  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

31 return line,
32
33 def animate(i):
34 x = np.linspace(0, 10, 100)
35 y = np.sin(x + i)
36 line.set_data(x, y)
37 return line,
38
39 # "klass" can be passed to determine the class returned by the fixture
40 kwargs = dict(getattr(request, 'param', {})) # make a copy

Callers

nothing calls this directly

Calls 1

set_dataMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…