In [2]:
import matplotlib.pyplot as plt
%matplotlib inline
In [19]:
x = np.arange(1,10,0.1)
In [20]:
y = -(x-5) ** 2 + 10
In [21]:
plt.plot(x, y)
Out[21]:
In [ ]: