py-quantmod icon indicating copy to clipboard operation
py-quantmod copied to clipboard

Plotly Import error migration to chart_studio

Open Marcelpv96 opened this issue 6 years ago • 1 comments

Due to the migration of plotly to chart_studio, some errors happen:

ImportError: The plotly.plotly module is deprecated, please install the chart-studio package and use the chart_studio.plotly module instead.

How to fix?

File chart.py line 18 change import plotly.plotly as py'for import chart_studio.plotly as py

File tools.py replace all plotly to chart_studio EXCEPT, pyo = plotly.offline

With that all seems to work fine! :)

Marcelpv96 avatar Feb 21 '20 17:02 Marcelpv96

pyo = plotly.offline NameError: name 'plotly' is not defined

arunklama avatar Apr 14 '20 08:04 arunklama