Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plotly Import error migration to chart_studio #13

Open
Marcelpv96 opened this issue Feb 21, 2020 · 1 comment
Open

Plotly Import error migration to chart_studio #13

Marcelpv96 opened this issue Feb 21, 2020 · 1 comment

Comments

@Marcelpv96
Copy link

Marcelpv96 commented Feb 21, 2020

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 Marcelpv96 changed the title **plotly** Import error migration to chart_studio Plotly Import error migration to chart_studio Feb 21, 2020
@arunklama
Copy link

arunklama commented Apr 14, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants