From 6b10091da3cb1ff4ce3453f9a45931557feed935 Mon Sep 17 00:00:00 2001 From: jgieseler Date: Fri, 3 Nov 2023 11:32:58 +0200 Subject: [PATCH] make sure animiated gif loops --- examples/example.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example.ipynb b/examples/example.ipynb index 7408d53..96a5d6c 100644 --- a/examples/example.ipynb +++ b/examples/example.ipynb @@ -1774,7 +1774,7 @@ " images_data.append(data)\n", "\n", "# write to animated gif; duration (in ms) defines how fast the animation is.\n", - "imageio.mimwrite('solarmach.gif', images_data, format= '.gif', duration = 100)" + "imageio.mimwrite('solarmach.gif', images_data, format= '.gif', duration=100, loop=0)" ] }, { @@ -2314,7 +2314,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.16" + "version": "3.9.17" } }, "nbformat": 4,