[英]How to import plotly on Google Colab
Hi I was trying to import plotly
on GoogleColab.嗨,我试图在plotly
上导入 plotly。
I used the code import plotly.plotly as py import plotly.graph_objs as go
and it returns我使用了代码import plotly.plotly as py import plotly.graph_objs as go
ImportError: The plotly.plotly module is deprecated, please install the chart-studio package and use the chart_studio.plotly module instead.
Can someone shed a bit light on this please?有人可以对此有所了解吗? Thanks.谢谢。
Plotly has been updated. Plotly 已更新。 Try this:尝试这个:
import plotly.express as px
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.