Loading

plotly之set_credentials_file问题

import plotly
plotly.tools.set_credentials_file(username="Augustineqq0654",api_key="your key")

报错

解决方案:

将plotly改为chart_studio,先安装chart_studio——pip install chart_studio

import chart_studio
chart_studio.tools.set_credentials_file(username="your name",api_key="your key")

参考博客:https://www.cnblogs.com/zzqingwenn/p/11305814.html

posted @ 2021-05-27 21:38  紫曜花  阅读(172)  评论(0编辑  收藏  举报