第一次使用plotly画图遇到的问题

时间:2021-04-11 16:53:54

报错:

Aw, snap! We don't have an account for ''. Want to try again? You can authenticate with your email address or username. Sign in is not case sensitive.

Don
't have an account? plot.ly

Questions? support@plot.ly
PlotlyError: Because you didn't supply a 'file_id' in the call, we're assuming you're trying to snag a figure from a url. You supplied the url, '', we expected it to start with 'https://plot.ly'.
Run help on this function for more information.

解决办法:在https://plot.ly/注册账户,然后在plotly的credentials文件中设置用户名和API_key,具体方法参见:https://plot.ly/python/getting-started/