plotly.plotly module deprecated
Damorck opened this issue · comments
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
Fix the plotly problem on Anaconda Prompt3: install plotly==4.1.1 cufflinks
Later install too: pip install plotly_express
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
you don`t need any api - just use
import chart_studio.plotly as py
after install by
pip install chart_studio