How do I get PyCharm to present the graphs I have created rather than the plot object?
I have created a histogram in PyCharm but when I execute my code it doesn't produce the graph in IPython.
I have tried to print(hist), I have tried plt.show(). I also had this same piece of code work previously so I am a little confused as to what has changed.
You didn't say what version of PyCharm you are using. But you might check the File | Settings | Tools | Python Scientific properties. There's a checkbox for "Show plots in tool window" - maybe it's unchecked? There was a period a few months ago where PyCharm and matplotlib were having issues with each other. See this post for more details.
The problem came from the QT_Plugin not having a path correctly assigned.
Not the answer you're looking for? Browse other questions tagged python matplotlib plot pycharm or ask your own question.
How to plot graph on an image using matplotlib in python?