新版Pycharm中Matplotlib图像不在弹出独立的显示窗口

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

官方说明链接:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000736584-SciView-in-PyCharm-2017-3-reduces-functionality-of-Matplotlib

pycharm从2017.3版之后,将matplotlib的绘图的结果默认显示在SciView窗口中, 而不是弹出独立的窗口, 如图
这里写图片描述

如果不喜欢这种设置,可以通过如下方式修改,弹出独立窗口
File | Settings | Tools | Python Scientific | Show plots in toolwindow

如图, 取消勾选
这里写图片描述
此时,在执行就会在独立的窗口中弹出Matplotlib绘图
这里写图片描述

猜你喜欢

转载自blog.csdn.net/u010472607/article/details/82290159
今日推荐