plotly.io.write_html还可以用于绘制图像吗?

发布于 2025-01-28 02:38:45 字数 100 浏览 3 评论 0原文

通常,我们使用该行来绘制图形和混乱矩阵。但是,官方文档并未真正指定支持哪些类型的数字。 我实际上可以将其用于图像文件吗? (我尝试使用它,但它运行不正确,我不知道它是否是因为它不支持它)

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

時窥 2025-02-04 02:38:45

基于文档,它支持含义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, ...)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文