Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a85eb5

Browse files
authored
Merge pull request #13271 from timhoffm/fix-double-pendulum-speed
DOC: Fix animation speed in double_pendulum example
2 parents 397e79e + e7b4cdb commit 4a85eb5

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)