Embedded charts in PyCharm IPython console

后端 未结 1 1851
长发绾君心
长发绾君心 2021-01-18 02:46

Is there a way to allow embedded Matplotlib charts in the IPython console that is activated within PyCharm? I\'m looking for similar behavior to what can be done with the QT

1条回答
  •  情话喂你
    2021-01-18 03:19

    It doesn't look like you can do it: PyCharm does not use the 'qtconsole' of ipython, but either a plain text console (when you open the "Python console" tab in PyCharm) or ipython notebook (when you open a *.ipynb file). Moreover, PyCharm is done in Java, while to have an interactive plot Matplotlib needs to have a direct connection/knowledge/understanding of the underlying graphic toolkit used... Matplotlib doesn't support any Java based backend, so i guess Pycharm would need to "bridge" the native underlying toolkit...

    0 讨论(0)
提交回复
热议问题