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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy