plotly.io.write_html还可以用于绘制图像吗?
通常,我们使用该行来绘制图形和混乱矩阵。但是,官方文档并未真正指定支持哪些类型的数字。 我实际上可以将其用于图像文件吗? (我尝试使用它,但它运行不正确,我不知道它是否是因为它不支持它)
Usually, we use the line to plot graphs and confusion matrices. However, the official documentation doesn't really specify which types of figures are supported.
Can I actually use it for image files?
(I tried using it but it doesn't run properly, I don't know whether it was because of it not supporting it)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基于文档,它支持
图
含义plotly 图对象。除非您创建一个包含图像的绘图对象,否则您将无法使用
plotly.io.write_html(图,...)
Based on the documentation, it supports a
fig
meaning a plotly figure object.Unless you create a plotly figure object containing your image, you won't be able to use
plotly.io.write_html(fig, ...)