Matplotlib and PyCharm

Dear All, 

I have a MacBook with M1 and Sonoma 14.0, PyCharm Pro Version 2021.3.2

It has always worked perfectly with Matplotlib, showing me the plots in the top right corner every time I call plt.show().

However, for a few days now, it's not working anymore, and every time I call plt.show() when I run it in the console, I get the following error:

AttributeError: module 'backend_interagg' has no attribute 'FigureCanvas'. Did you mean: 'FigureCanvasAgg'?

Is anybody experiencing the same? Any idea for fixing? It is pretty inconvenient to run code from command line to see the plots.

Thank you!
 

0

Please sign in to leave a comment.