Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ModuleNotFoundError: No module named 'plotly.graph_objects'

Trying to use 'plotly.graph_objects' but I get this error

ModuleNotFoundError: No module named 'plotly.graph_objects'

How do I download module and apply using anaconda navigator

like image 676
MSG Avatar asked Jul 19 '19 04:07

MSG


People also ask

How do I know if plotly is installed?

Since Plotly doesn't come installed automatically with Python, you'll need to install it yourself. The easiest way to do so is by using pip, which is a package manager for Python. What is this? If plotly is displayed with a version number, this means that it was successfully installed.

How do you import plotly in Python?

We can access this API in python using the plot.ly package. To install the package, open up terminal and type $ pip install plotly or $ sudo pip install plotly . Plotly's graphs are hosted using an online web service, so you'll first have to setup a free account online to store your plots.

How do you get plotly in Jupyter notebook?

Simply visit plot.ly and select the + Create button in the upper right hand corner. Select Notebook and upload your Jupyter notebook (. ipynb) file! The notebooks that you upload will be stored in your Plotly organize folder and hosted at a unique link to make sharing quick and easy.


1 Answers

You should use instead:

from plotly import graph_objs as go

like image 110
Dark Templar Avatar answered Sep 19 '22 12:09

Dark Templar