NumPy introduces the np.array data structure
NumPy is not a library you can learn by reading, it is really needs to be used. Once you have the basic concepts down, there is so much functionality that can be expored.
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 2, 100)
plt.plot(x, x, label='linear')
plt.plot(x, x**2, label='quadratic')
plt.plot(x, x**3, label='cubic')
plt.xlabel('x label')
plt.ylabel('y label')
plt.title("Simple Plot")
plt.legend()
Matplotlib is not a subject to be lectured, it is much better to learn by example and doing, so here are some links below to get you started
Advice: find something that you like and alter it rather than trying to do from scratch
Matplotlib can be embedded in Jupyter Notebooks, one needs to add the following: