Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc7deea commit 96654d6Copy full SHA for 96654d6
1 file changed
galleries/examples/animation/frame_grabbing_sgskip.py
@@ -6,8 +6,6 @@
6
Use a MovieWriter directly to grab individual frames and write them to a
7
file. This avoids any event loop integration, and thus works even with the Agg
8
backend. This is not recommended for use in an interactive setting.
9
-
10
-Output generated via `matplotlib.animation.Animation.to_jshtml`.
11
"""
12
13
import numpy as np
@@ -39,5 +37,5 @@
39
37
for i in range(100):
40
38
x0 += 0.1 * np.random.randn()
41
y0 += 0.1 * np.random.randn()
42
- l.set_data(x0, y0)
+ l.set_data([x0], [y0])
43
writer.grab_frame()
0 commit comments