How to Easily Run Python Visualizations On a Web Browser with PyScript

preview_player
Показать описание
PyScript is a new technology that allows us to write Python code in the browser and in this video I’m gonna show you how to run python visualizations on a web browser with PyScript.

--------------------
Content:
0:00 Intro
0:40 Adding PyScript to the HTML template
2:07 Loading matplotlib and printing Hello World
5:00 Displaying a line plot on the web browser
Рекомендации по теме
Комментарии
Автор

mine just comes up with code I wrote for some reason, if you have a fix please tell me.

Mr_Tophat
Автор

Nice one man, It's working. Good job.

saikiranganeshkumar
Автор

Hi. Can Tkinter work on pyscript? If yes, how?
Also, to pick the src=“”, do you not need to copy the whole root directory like c://..../pycharm/main.py???

Looking forward to a response.

abdulmaliki.o.
Автор

Informative I'll try it out, thanks!

binarystar
Автор

Making the visualisation interactive on the client side would make this useful. Right now you are doing a lot of work just to display a static image of a graph rendered on a webpage, . What's the point?

errorpagenotfound.
Автор

Dear Frank
I have followed your tutorial and I got this error:
JsException(TypeError: NetworkError when attempting to fetch resource.)
I don't know if it a CORS issue or other.
Do you have solution?
Thanks for your valuable time and best regards

slimgana
Автор

I think fig = plt.gcf() would also work

sehbanomer
Автор

will it directly covert to machine code for frontend like js?

techlifejournal
Автор

Can't catch up with that heavy accent/

coronaklledmebot