![](/img/trans.png)
[英]Python/Plotly Offline export result into Image instead of html file
[英]Image plotly to HTML in Python
我可以 plot 该图。 我的代码是这样的:
plt.savefig('test3.png')
fig.write_html("test3.html")
AttributeError: 'Figure' object 没有属性 'write_html
我需要将图像转换为html,然后将其放入我的email中。
我希望保存图像,然后将其转换为 html,因为我正在 python 中开发自动 email,我的想法是使用图形并将其放置在 email 中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.