Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96654d6

Browse files
QuLogicmeeseeksmachine
authored andcommitted
Backport PR#28805: add brackets to satisfy the new sequence requirement
1 parentfc7deea commit96654d6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎galleries/examples/animation/frame_grabbing_sgskip.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
Use a MovieWriter directly to grab individual frames and write them to a
77
file. This avoids any event loop integration, and thus works even with the Agg
88
backend. This is not recommended for use in an interactive setting.
9-
10-
Output generated via `matplotlib.animation.Animation.to_jshtml`.
119
"""
1210

1311
importnumpyasnp
@@ -39,5 +37,5 @@
3937
foriinrange(100):
4038
x0+=0.1*np.random.randn()
4139
y0+=0.1*np.random.randn()
42-
l.set_data(x0,y0)
40+
l.set_data([x0], [y0])
4341
writer.grab_frame()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp