You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nteract Version : 0.28.0
Notebook: python\plotly.ipynb
In the cell demonstrating the advanced scatter plot features using the Life expectancy vs Per Capita GDP, the notebook is using the old deprecated module plotly.plotly and throws an error.
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
C:\Users\USERNAME\AppData\Local\Temp/ipykernel_21460/3045308087.py in <module>
----> 1 import plotly.plotly as py
2 import plotly.graph_objs as go
3
4 import pandas as pd
5 import math
C:\Python39\lib\site-packages\plotly\plotly\__init__.py in <module>
2 from _plotly_future_ import _chart_studio_error
3
----> 4 _chart_studio_error("plotly")
C:\Python39\lib\site-packages\_plotly_future_\__init__.py in _chart_studio_error(submodule)
41
42 def _chart_studio_error(submodule):
---> 43 raise ImportError(
44 """
45 The plotly.{submodule} module is deprecated,
ImportError:
The plotly.plotly module is deprecated,
please install the chart-studio package and use the
chart_studio.plotly module instead.
If installed chart-studio and changed to the first line to import chart_studio.plotly as py it works fine.
It would be better to change the module to the newer and working chart-studio.
The text was updated successfully, but these errors were encountered:
jmaniac
pushed a commit
to jmaniac/nteract_examples
that referenced
this issue
Apr 19, 2022
nteract Version : 0.28.0
Notebook: python\plotly.ipynb
In the cell demonstrating the advanced scatter plot features using the Life expectancy vs Per Capita GDP, the notebook is using the old deprecated module plotly.plotly and throws an error.
If installed chart-studio and changed to the first line to
import chart_studio.plotly as py
it works fine.It would be better to change the module to the newer and working chart-studio.
The text was updated successfully, but these errors were encountered: