MISC

Saving an animation video

In a macos environment, this needs

brew install ffmpeg

then, before doing plt.show(), add the code below to save an animation called anim.

anim.save("test.mp4")