Black Lives Matter. Please consider donating to Black Girls Code today.

Error in plotly.plot() during sharing

This bug happens randomly when generating simple bar/line charts with the sharing=‘secrect’ option. This seems to be on the plotly API end. Has anyone else run into something similar?

plot_url = py.plot(fig,
filename=‘filename’,
fileopt=‘overwrite’,
auto_open=False,
sharing=‘secret’
)

File “/home/app/venv/local/lib/python2.7/site-packages/plotly/plotly/plotly.py”, line 234, in plot
url = add_share_key_to_url(url)
File “/home/app/venv/local/lib/python2.7/site-packages/plotly/plotly/plotly.py”, line 1304, in add_share_key_to_url
username = urlsplit.path.split(’/’)[1].split(’~’)[1]
IndexError: list index out of range