'Why is plt.show not showing any graph in pycharm?

I updated matplotlib recently. I wanted to use a feature present in 3.4 Now plt.show() doesn't work. I get that black figure and then in fails with an error, telling me it's not responding.

print('matplotlib: {}'.format(matplotlib.__version__))
matplotlib: 3.5.1

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source