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
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.
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.
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.
You should use instead:
from plotly import graph_objs as go
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With