Matplotlib in Rhino8

Hello, I would like to ask why I receive this warnings from the script editor in rhino 8 when I tried to plot a figure with matplotlib: UserWarning: FigureCanvasAgg is non-interactive, and thus cannot be shown. Moreover, the library is installed and the script editor reads it because the script autogenerate the name of the library when I write it during the import. Thank you so much for the helping

Hi , maybe helps


I need to create a backend for matplotlib in the new editor so it can show the output plots without throwing an exception or crashing. Here is the YT:

RH-74046 CPython matplotlib needs a Rhino/Eto backend probably (affects pandas)


Nice! This would be great. I have had the same issue.

Thank you @eirannejad I will try this and see if it works.