notebook.community
Edit and run
In [4]: import matplotlib.pyplot as plt import numpy as np %matplotlib inline x = np.linspace(-1, 1, 50) y = x*3+1 plt.plot(x, y)
import matplotlib.pyplot as plt import numpy as np %matplotlib inline x = np.linspace(-1, 1, 50) y = x*3+1 plt.plot(x, y)
Out[4]: [<matplotlib.lines.Line2D at 0xafb0a1d0>]
[<matplotlib.lines.Line2D at 0xafb0a1d0>]