Using PyCharm I want to show plot extra figure windows

喜你入骨 提交于 2020-05-12 21:19:27

问题


After installing Anaconda3 & PyCharm in new PC, I tried to test the same code as uploaded here

And I got a window like this.

But usually I use the plot window like this format (from google image search)

I think the first view is useful for checking all of the plots, but I'm already used to the second version, separated plot figure from PyCharm console, and I can use the control panel.

So I want to use PyCharm as in the second picture. How can I change my PyCharm settings to use the second version plot figure (extra window)?


回答1:


That's because PyCharm is opening it in Sciview. Go to Settings => search for Python Scientific. Uncheck the (only) box Show plots in toolwindows. Restart Pycharm. It should work like a charm ;)

Related to my answer here.




回答2:


According to this, you can manually change the backend to fix the issue:

matplotlib.use('Qt5Agg')

Thank you, @ImportanceOfBeingErnest, for digging up the thread.



来源:https://stackoverflow.com/questions/48334853/using-pycharm-i-want-to-show-plot-extra-figure-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!