... matplotlib: introduction


To be able to use the tools in these videos you'll need to install them first.

python -m pip install numpy matplotlib

From here, to get "hello world" running for matplotlib, just run;

import numpy as np
import matplotlib.pylab as plt

x = np.linspace(0, 1, 100)
y = x ** 2
plt.plot(x, y);

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.