如何添加本地HTML文件元素 #356
Unanswered
HaoLuoChalmers
asked this question in
Q&A
Replies: 1 comment
-
保存plotly的html可以用:
在pywebio中输出使用 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
通过plotly 保存的本地html 文件,如何通过pywebio 添加进去?每次运行pywebio 的脚本都要重画有点难受。。。
import plotly.express as px
fig =px.scatter(x=range(10), y=range(10))
fig.write_html("path/to/file.html")
将‘file.html’ 通过pywebio 添加进去。
Beta Was this translation helpful? Give feedback.
All reactions