Skip to content
Using the matplotlib library to create some interesting animations.
Jupyter Notebook
Branch: master
Clone or download
Latest commit 3fe9d43 Apr 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
volcano Add files via upload Apr 22, 2019
Animations with Matplotlib.ipynb Add files via upload Apr 13, 2019
stock.txt Add files via upload Apr 22, 2019

Animations with Matplotlib

Watch the animations live at Binder

Alt Text

Animations are an interesting way of demonstrating a phenomenon. We as humans are always enthralled by animated and interactive charts rather than the static ones. Animations make even more sense when depicting time series data like stock prices over the years, climate change over the past decade, seasonalities and trends since we can then see how a particular parameter behaves with time.

The above image is a simulation of Rain and has been achieved with Matplotlib library which is fondly known as the grandfather of python visualization packages. Matplotlib simulates raindrops on a surface by animating the scale and opacity of 50 scatter points. Today Python boasts of a large number of powerful visualisation tools like Plotly, Bokeh, Altair to name a few. These libraries are able to achieve state of the art animations and interactiveness. Nonetheless, the aim of this article is to highlight one aspect of this library which isn’t explored much and that is Animations and we are going to look at some of the ways of doing that.

This repository is associated with an article I wrote on Medium with the same title. Read the entire article here

You can’t perform that action at this time.