matplot gif: plot
An image can say a thousand words. But sometimes having a gif can make it just a bit easier. In this series of video's we'll highlight a tool called gif that makes it easy to turn matplotlib plots into gifs.
To get started with the basic chart you can run this;
import numpy as np import matplotlib.pylab as plt def frame(i): x = np.linspace(0, 2*np.pi, 100) y = np.sin(x) plt.plot(x, y) plt.scatter([x[i]], [y[i]]); frame(10)
Feedback? See an issue? Something unclear? Feel free to mention it here.
If you want to be kept up to date, consider signing up for the newsletter.