2.6. Figure 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() # doctest: +SKIP
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() # doctest: +SKIP