Not inside the shell; however, for this purpose you can use the iPython laptop in PyCharm (2016+). PyCharm supports iPython graphics if they are defined in the format .ipynb(iPython / Jupyter file format) script.
Here is an example: Open or create (as shown) a .ipynbscript:

, .ipynb PyCharm 2016 . %matplotlib inline, matplotlib.pyplot .
