Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using PyCharm I want to show plot extra figure windows

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

And I got a window like this.

enter image description here

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

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)?

like image 363
Gangil Seo Avatar asked Jan 19 '18 05:01

Gangil Seo


1 Answers

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

matplotlib.use('Qt5Agg')

Credit to @ImportanceOfBeingErnest for digging up the thread.

like image 78
jpaugh Avatar answered Sep 28 '22 11:09

jpaugh