Skip to content

Instantly share code, notes, and snippets.

@SkalskiP
Last active September 13, 2018 18:40
Show Gist options
  • Select an option

  • Save SkalskiP/25cf12c299d6bf450e8f84d8255ee33e to your computer and use it in GitHub Desktop.

Select an option

Save SkalskiP/25cf12c299d6bf450e8f84d8255ee33e to your computer and use it in GitHub Desktop.
Saving animations
# Animation creation
anim = FuncAnimation(fig, update,
frames=np.arange(0, int(STEPS/STEPS_PER_FRAME)), interval=40)
# Saving animation
anim.save('lorenz_attractor.gif', dpi=80, writer='imagemagick')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment