Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

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

TRY
py.offline.init_notebook_mode(connected=True)
FOR JUPYTER NOTEBOOK

I solved this problem with:
from plotly.offline import plot


plot( fig, filename = ‘candlestick-test-3.html’, validate = False )

It displays the plot as an html file in another tab. It is good enough for me.

I didn’t use chart_studio and
import chart_studio.plotly as py