Skip to content

Commit f41eedf

Browse files
authored
Merge pull request #23952 from meeseeksmachine/auto-backport-of-pr-23951-on-v3.6.x
Backport PR #23951 on branch v3.6.x (DOC: Make animation continuous)
2 parents 237c593 + 709335a commit f41eedf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/animation/dynamic_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ def f(x, y):
2323
# each frame
2424
ims = []
2525
for i in range(60):
26-
x += np.pi / 15.
27-
y += np.pi / 20.
26+
x += np.pi / 15
27+
y += np.pi / 30
2828
im = ax.imshow(f(x, y), animated=True)
2929
if i == 0:
3030
ax.imshow(f(x, y)) # show an initial one first

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