8000 Fix animation speed in double_pendulum example · matplotlib/matplotlib@e7b4cdb · GitHub
[go: up one dir, main page]

Skip to content

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

8000
Appearance settings

Commit e7b4cdb

Browse files
committed
Fix animation speed in double_pendulum example
1 parent d5dd383 commit e7b4cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/animation/double_pendulum_sgskip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,5 @@ def animate(i):
9595

9696

9797
ani = animation.FuncAnimation(fig, animate, range(1, len(y)),
98-
interval=25, blit=True, init_func=init)
98+
interval=dt*1000, blit=True, init_func=init)
9999
plt.show()

0 commit comments

Comments
 (0)
0