extremeheat / JSPyBridge

🌉. Bridge to interoperate Node.js and Python
MIT License
641 stars 46 forks source link

[Question] Is it possible to show matplotlib plot in a dom element? #140

Open SolarEquine opened 1 month ago

SolarEquine commented 1 month ago

Hi, I'm trying to make a small audio analyzer and I wonder: is it possible to show plot inside a dom element?

extremeheat commented 1 month ago

If you mean you want to run python in the browser, please look at https://github.com/pyodide/pyodide which provides a Python runtime for the browser. JSPyBridge is focused on usage server side/Node.js and assumes Python exists on the system.