Anaconda Spyder中写好画图的代码,有时候并不会直接在Ipython console中出来图训练的过程,我们需要在Ipython console中输入以下命令才可以:
(1)直接在窗口输出图片结果:
在Ipython console中输入命令:In[1]:matplotlib inline
(2)在图片小窗口输出动图图片:
在Ipython console中输入命令:In[2]:matplotlib qt
https://blog.csdn.net/luckygirl0809/article/details/79929628