Jupyter (IPython) notebook not plotting

前端 未结 1 1043
梦如初夏
梦如初夏 2020-12-12 23:34

I installed anaconda to use pandas and scipy. I reading and watching pandas tutorials and they all say to open the ipython notebook using

 ipython notebook -         


        
相关标签:
1条回答
  • 2020-12-13 00:31

    I believe the pylab magic was removed when they transitioned from IPython to a more general Jupyter notebook.

    Try:

    %matplotlib inline
    

    Also when you get a message like:

    "matplotlib.axes._subplots.AxesSubplot at 0xebf8b70".
    

    That's just IPython displaying the object. You need to specify IPython display it. Hence the matplotlib inline magic.

    0 讨论(0)
提交回复
热议问题