通过IPython notebook用matplotlib画图时图像不显示

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_22073849/article/details/80834462

问题:在notebook中matplotlib画图时图像不显示时 要怎么做?

正确解决方案:

导包后在后面插入这样一条语句

%matplotlib inline

问题就完美解决了


参考文章
https://stackoverflow.com/questions/19410042/how-to-make-ipython-notebook-matplotlib-plot-inline

猜你喜欢

转载自blog.csdn.net/qq_22073849/article/details/80834462