是否可以将 Python Seaborn 与 plotly 集成
问题描述
我正在为 plot.ly 寻找一些关于 python seaborn 的指导.是否可以在 plot.ly 上有 seaborn 图表?
I am looking for some guidance in python seaborn for plot.ly. Is it possible to have seaborn graphs on plot.ly ?
有任何可用的示例或教程吗?请帮忙.提前致谢.
Any example or tutorial available ? Please help. Thanks in advance.
解决方案
Seaborn 基于 matplotlib,并且可以 Plotly 转换 matplotlib 图形(其中 mpl 图形对象暴露了足够的信息来进行转换.这里是 mpl 转换文档:https://plot.ly/matplotlib/)
Seaborn is based on matplotlib, and Plotly converts the matplotlib figures it can (where mpl figure obejcts expose sufficient information to make the conversion. Here are the mpl conversion docs: https://plot.ly/matplotlib/)
直到 mpl 2.0 版本才提供全面覆盖,届时 mpl 图形对象计划完全可序列化.
Full coverage won't be available until mpl 2.0 release, when mpl figure objects are planned to be fully serializable.
相关文章