Unable to use mathplotlib in scientific mode

Answered

Hi,

I am not sure if I have missed anything. I have just installed PyCharm 2017.3 today and when I import mathplotlib, and do plt.show() in my python console, nothing happened. 

The instruction below said that graph should be plotted in the SciView box:

https://www.jetbrains.com/help/pycharm/scientific-mode-support.html

I need help to get this work.

Best,

Louis

33 comments
Comment actions Permalink

We recently added better logging for SciView https://youtrack.jetbrains.com/issue/PY-41267
Please follow the steps from the ticket description and then file a new ticket attaching your idea.log so we can investigate.

0
Comment actions Permalink

For me

import matplotlib
matplotlib
.use('module://backend_interagg')

fixed this issue on MacOSX. The plot now shows up in SciView sidebar.

1
Comment actions Permalink

Ben Weisburd That worked for me, thanks! 

(pin that answer?)

0

Please sign in to leave a comment.