chart_studio.exceptions.PlotlyRequestError: Authentication credentials were not provided

I followed the guide, but there’s always this error when i tried to py.plot(fig), I had previously import chart_studio.plotly as py. Could someone please help me with it? Thank you!

hi, emily_sym

maybe you should use this from plotly.offline import plot
chart_studio.plotly need online interaction.

BRs

three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online