WangWeimin
WangWeimin
Just wrap your script code with a function, and use the following code to start your script: ``` while True: app() act = actions(buttons=["Restar", "Exit"]) if act=="Exit": break ```
It seems the theta data is wrong in figurewidget:  But the figure attributes of FigureWidget is correct: 
@SavSanta HTML5 `audio` does support mp3, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio @mlakshmi22 There is a `put_audio()` added to pywebio battery, see https://pywebio.readthedocs.io/en/latest/battery.html#pywebio_battery.put_audio
`pin.put_file_upload()` is supported in pywebio dev version, and will be released to stable version soon. dev doc: https://pywebio.readthedocs.io/en/dev/pin.html#pywebio.pin.put_file_upload
最近的几个版本的pywebio有几个相关的修复,可以尝试升级一下pywebio版本