jupyter-notebookã§matplotlibã使ã£ãã¨ãããã®ã¾ã¾ããã¨å³ã表示ãããªãã
In [1]: import matplotlib.pyplot as plt plt.plot([1,2],[1,2]) Out[1]: [<matplotlib.lines.Line2D at 0x9d8750>]
ãããªæãã
対å¦æ¹æ³
æåã«
%matplotlib inline
ã¨æã¤ãã¨ã
ãããªæã
In [1]: %matplotlib inline import matplotlib.pyplot as plt plt.plot([1,2],[1,2]) Out[1]: [<matplotlib.lines.Line2D at 0x9d8750>] âââââââââââââââââââââââââââââââ â â â Figure â â â âââââââââââââââââââââââââââââââ