notebook.community
Edit and run
This notebook contains basic code and documentation to show how the Jupyter notebook interface works. It doesn't do much other than plotting $x^2$.
In [1]: import matplotlib.pyplot as plt %matplotlib inline x = [xi/10.0 for xi in range(50)] y = [xi**2 for xi in x] plt.plot(x, y)
import matplotlib.pyplot as plt %matplotlib inline x = [xi/10.0 for xi in range(50)] y = [xi**2 for xi in x] plt.plot(x, y)
Out[1]: [<matplotlib.lines.Line2D at 0x7f043c2a3150>]
[<matplotlib.lines.Line2D at 0x7f043c2a3150>]