-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Hi! I am new to Dash and just installed plotly 4.0.0, where plotly.express is integrated. But I have some problem importing it.
When trying to run the example code:
import plotly.express as px
print(px.data.iris.__doc__)
px.data.iris().head()
I got this error:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-5-1979e3394739> in <module>
----> 1 import plotly.express as px
2 print(px.data.iris.__doc__)
3 px.data.iris().head()
~/anaconda3/lib/python3.7/site-packages/plotly/express/__init__.py in <module>
6 __version__ = "0.3.0"
7
----> 8 from ._chart_types import ( # noqa: F401
9 scatter,
10 scatter_3d,
~/anaconda3/lib/python3.7/site-packages/plotly/express/_chart_types.py in <module>
----> 1 from ._core import make_figure
2 from ._doc import make_docstring
3 import plotly.graph_objs as go
4
5
~/anaconda3/lib/python3.7/site-packages/plotly/express/_core.py in <module>
4
5 from _plotly_utils.basevalidators import ColorscaleValidator
----> 6 from .colors import qualitative, sequential
7 import math
8 import pandas
ImportError: cannot import name 'qualitative' from 'plotly.express.colors'
Is there anything I can do to solve it?
Metadata
Metadata
Assignees
Labels
No labels