Creating a GIF

Develop the various ways to plot 2D and 3D and static and animated graphs.

We'll cover the following

Saving a gif

How do you save a gif to show off to someone later?

For any of the static plots, the Matplotlib window shows a save button to save the image. If you want to save a gif of the animated plots, you need to create a Writer instance using Pillow, then pass that Writer to a save() function:

Get hands-on with 1400+ tech skills courses.