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.plotly module deprecated #49

Open
Damorck opened this issue Oct 17, 2019 · 3 comments
Open

plotly.plotly module deprecated #49

Damorck opened this issue Oct 17, 2019 · 3 comments

Comments

@Damorck
Copy link

Damorck commented Oct 17, 2019

There are som lines in the jupyter-notebook that needs to be refactored. Thx for this. Se below.

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

@hugodatacampos
Copy link

Fix the plotly problem on Anaconda Prompt3: install plotly==4.1.1 cufflinks

Later install too: pip install plotly_express

@samppu2020
Copy link

Hi. Did what hugodatacampos suggested, still get the same issue.
Also installed the chart studio module, created account and generated API key, updated the main js file by replacing

Visualizations

import plotly.plotly as py
import plotly.graph_objs as go
from plotly.offline import iplot, init_notebook_mode
init_notebook_mode(connected=True)

with

Visualizations

import chart_studio.plotly as py
chart_studio.tools.set_credentials_file(username='[username]', api_key='[apikeystring]')
import plotly.graph_objects as go

but still keep getting the exact same msg:
"The plotly.plotly module is deprecated,
please install the chart-studio package and use the
chart_studio.plotly module instead"
Even thougfh as far as I can tell I am opting (trying to) for the chart studio module instead.

Would love to learn how to fix this. And thats Hugodatacampos for the suggestions, just didint work for me this time

@zoldaten
Copy link

you don`t need any api - just use
import chart_studio.plotly as py

after install by
pip install chart_studio

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

4 participants