From b92b6b9ebce3ecf8f283427542bf3414b7464072 Mon Sep 17 00:00:00 2001 From: hannah Date: Mon, 19 Sep 2022 09:32:24 -0400 Subject: [PATCH] Backport PR #23951: DOC: Make animation continuous --- examples/animation/dynamic_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/animation/dynamic_image.py b/examples/animation/dynamic_image.py index 5543da039639..cbec62607b2c 100644 --- a/examples/animation/dynamic_image.py +++ b/examples/animation/dynamic_image.py @@ -23,8 +23,8 @@ def f(x, y): # each frame ims = [] for i in range(60): - x += np.pi / 15. - y += np.pi / 20. + x += np.pi / 15 + y += np.pi / 30 im = ax.imshow(f(x, y), animated=True) if i == 0: ax.imshow(f(x, y)) # show an initial one first