Have to add block=True in plt.show() in Pycharm's Python console

Hi, I’m using Pycharm’s python console.
Whenever I need to plot a figure, I did plt.show()
Now I need to change that to plt.show(block=True)
Why is that?
Is anything wrong with my environment?