Animating Data: From matplotlib plots to GIFs
Animating Data: From matplotlib plots to GIFs


In this session, you'll learn how to turn any matplotlib plot into an animated gif with just two extra lines of code (well... three, if you count "import gif")!

Session Outline
0. Introduction
- Basic review of matplotlib

1. Plot Prep
- Making sure that we have the right type of data
- Tweaking figure and canvas sizes
- Adjusting backgrounds
- Turning matplotlib plots into functions

2. Animation Basics
- Overview of the matplotlib.animation module
- Using FuncAnimation to animate plots
- Using the gif.frame decorator to animate plots

3. Animation Examples
- How to style animated gifs
- How to using 3D inside of animated gifs
- How to recreate popular /r/dataisbeautiful plots

Background Knowledge
- python;
- matplotlib;
- pandas.


Max is a distinguished faculty member at General Assembly and the creator of several popular open source packages, including: gazpacho, gif, and mummify.

Open Data Science




Open Data Science
One Broadway
Cambridge, MA 02142

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Consent to display content from - Youtube
Consent to display content from - Vimeo
Google Maps
Consent to display content from - Google