Python-anaconda-Spyder使用matplotlib画图无法显示报错解决:Figures now render in the Plots pane by default...

时间:2024-03-24 12:15:32

早上手贱升级了Spyder,下午使用matplotlib画图时,图片没有像往常一样弹出来,而在界面右下角的框里显示了这么一段话:
”Figures now render in the Plots pane by default. To make them also appear inline in the Console, uncheck “Mute Inline Plotting” under the Plots pane options menu.“
上网查找资料后发现是由新版的Spyder4.0默认图片显示在界面的右上角造成的,如下图所示。
Python-anaconda-Spyder使用matplotlib画图无法显示报错解决:Figures now render in the Plots pane by default...
如果想要像旧版一样弹出图片窗口可以更改设置:
Tools > Preferences > iPython console > Graphics > Graphics backend > Automatic
Python-anaconda-Spyder使用matplotlib画图无法显示报错解决:Figures now render in the Plots pane by default...
应用后重新启动Spyder即可。