Skip to content

Commit

Permalink
make sure animiated gif loops
Browse files Browse the repository at this point in the history
  • Loading branch information
jgieseler committed Nov 3, 2023
1 parent 8ddd79c commit 6b10091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
]
},
{
Expand Down Expand Up @@ -2314,7 +2314,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16"
"version": "3.9.17"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 6b10091

Please sign in to comment.