In [ ]:
%matplotlib inline

On génère les vecteurs x et y


In [ ]:
x = np.arange(0, 10, 0.1)
y = np.cos(x)

Et on les affiches


In [ ]:
print(x)
print(y)

In [ ]:
plt.plot(x, y)