2.6. InteractiveΒΆ

import matplotlib.pyplot as plt
%matplotlib notebook


x = [1,2,3,4,5]
y = [1,2,3,4,5]

plt.plot(x, y)
plt.show()