Built-in diagrams in PyCharm IPython console

Is there a way to enable Matplotlib embedded graphics in the IPython console that is activated in PyCharm? I am looking for a similar behavior for what can be done with the console version of QT IPython, i.e. ipython qtconsole --matplotlib inline

+6
source share
1 answer

It doesn't seem like you can do this: PyCharm does not use the iptthon qtconsole, but either the plaintext console (when you open the Python Console tab in PyCharm) or the ipython laptop (when you open the * .ipynb file). In addition, PyCharm runs in Java, and for Matplotlib interactive graphics there must be a direct connection / knowledge / understanding of the graphical tools used ... Matplotlib does not support any Java-based backend, so I think Pycharm will need to β€œconnect” the native base toolkit. ..

0
source

Source: https://habr.com/ru/post/971930/


All Articles