Loading and using MathLab Plots in Grasshopper with Python 3

not sure it’s the right subforum, but since you’ve already had some discussion, I best ask here

Any suggestions how to modify my code as to allow for continuous update/rewrite of the matplotlib inside gh if input values change. The issues has to do with that I try to resave the images, which is prohibited as the file is open in grasshopper. And making new version of the saved image file works, but will result in 10’s if not hundreds of files if it and playing with the sliders.

i couldn’t get @farouk.serragedine solution to work: How to install libraries like SciPy into Rhino 8 beta script editor? - #5 by farouk.serragedine

r8_python3_matplotlib.gh (18.8 KB)