ModuleNotFoundError: No module named 'plotly.graph_objects'
22,785
Solution 1
You should use instead:
from plotly import graph_objs as go
Solution 2
This is the approach now mostly used in the plotly docs. Example:
import plotly.graph_objects as go
Author by
MSG
Updated on July 12, 2020Comments
-
MSG almost 4 years
Trying to use
'plotly.graph_objects'
but I get this errorModuleNotFoundError: No module named 'plotly.graph_objects'
How do I download module and apply using anaconda navigator
-
nicolaskruchten almost 5 yearsAs of version 4 we've also aliased
plotly.graph_objects
so you can do alsoimport plotly.graph_objects as go
-
KansaiRobot about 2 yearsversion 4 of what?
-
KansaiRobot about 2 yearsyes and it does not work. that is why this question