In [ ]:
%matplotlib nbagg
import numpy as np
import matplotlib.pyplot as plt

In [ ]:
x = np.arange(10)
y = x ** 2
plt.plot(x, y)