close

How to install Plotly for Python 3 Jupyter Notebook?

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How to install Plotly for Python 3 Jupyter Notebook in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

Table of Contents

How to install Plotly for Python 3 Jupyter Notebook?

  1. How to install Plotly for Python 3 Jupyter Notebook?

    For use in the classic Jupyter Notebook, install the notebook and ipywidgets packages using pip…

  2. install Plotly for Python 3 Jupyter Notebook

    For use in the classic Jupyter Notebook, install the notebook and ipywidgets packages using pip…

Method 1

I have now solved the problem. I just opened a new Terminal and made sure that I wrote the command

pip install cufflinks

directly after the second line.

The same worked for

pip install plotly
enter image description here

Method 2

Official documentation page says:

For use in the classic Jupyter Notebook, install the notebook and ipywidgets packages using pip…

$ pip install "notebook>=5.3" "ipywidgets>=7.2"

or conda.

$ conda install "notebook>=5.3" "ipywidgets>=7.2"

These packages contain everything you need to run a Jupyter notebook…

$ jupyter notebook

Display plotly figures inline using the notebook renderer…

import plotly.graph_objects as go
fig = go.Figure(data=go.Bar(y=[2, 3, 1]))
fig.show()

Summery

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read