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

Appearance settings

Commit 62d88be

Browse filesBrowse files
authored
Merge pull request #23951 from timhoffm/continuous-animation
DOC: Make animation continuous
2 parents 89d625e + 9e71fc3 commit 62d88be
Copy full SHA for 62d88be

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎examples/animation/dynamic_image.py

Copy file name to clipboardExpand all lines: examples/animation/dynamic_image.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.