Pycharm通过matplotlib画图报错如下:解决方案:进入路径:File -> Settings -> Tools -> Python Scientific,将“Show plots in toolwindow”去掉勾选即可。再次运行,就可以了