You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For use in [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/), install the `jupyterlab` and `ipywidgets`
97
+
For use in [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/), install the `jupyterlab` and `anywidget`
98
98
packages using `pip`:
99
99
100
100
```
101
-
pip install "jupyterlab>=3" "ipywidgets>=7.6"
101
+
pip install "jupyterlab>=3" "anywidget>=0.9.13"
102
102
```
103
103
104
104
or `conda`:
105
105
106
106
```
107
-
conda install "jupyterlab>=3" "ipywidgets>=7.6"
108
-
```
109
-
110
-
The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**, run the following commands to install the required JupyterLab extensions (note that this will require [`node`](https://nodejs.org/) to be installed):
This package contains everything you need to write figures to standalone HTML files.
70
70
71
-
> Note: **No internet connection, account, or payment is required to use plotly.py.** Prior to version 4, this library could operate in either an "online" or "offline" mode. The documentation tended to emphasize the online mode, where graphs get published to the Chart Studio web service. In version 4, all "online" functionality was removed from the `plotly` package and is now available as the separate, optional, `chart-studio` package (See below). **plotly.py version 4 is "offline" only, and does not include any functionality for uploading figures or data to cloud services.**
To use `plotly` in [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/), install the `jupyterlab` and `ipywidgets` packages in the same environment as you installed `plotly`, using `pip`:
96
+
To use `plotly` in [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/), install the `jupyterlab` and `anywidget` packages in the same environment as you installed `plotly`, using `pip`:
100
97
101
98
```
102
-
$ pip install "jupyterlab>=3" "ipywidgets>=7.6"
99
+
pip install "jupyterlab>=3" "anywidget>=0.9.13"
103
100
```
104
101
105
102
or `conda`:
106
103
107
104
```
108
-
$ conda install "jupyterlab>=3" "ipywidgets>=7.6"
105
+
conda install "jupyterlab>=3" "anywidget>=0.9.13"
109
106
```
110
107
111
108
The `plotly` jupyterlab extension is included when you install `plotly` using `pip` or `conda`. When you run Jupyter Lab, ensure you are running it in the same environment that you installed `plotly` in so it has access to the `plotly` jupyterlab extension.
112
109
113
-
**JupyterLab 2 or earlier** does not support the prebuilt extensions installed using `pip` and `conda`. If you are using JupyterLab 2, run the following command to install the required JupyterLab extensions (note that this will require [`node`](https://nodejs.org/) to be installed):
and display plotly figures inline using the `plotly_mimetype` renderer...
116
+
and display plotly figures inline:
127
117
128
118
```python
129
119
import plotly.express as px
@@ -147,20 +137,19 @@ See [_Displaying Figures in Python_](/python/renderers/) for more information on
147
137
See the [Troubleshooting guide](/python/troubleshooting/) if you run into any problems with JupyterLab, particularly if you are using multiple Python environments inside Jupyter.
148
138
149
139
150
-
151
140
#### Jupyter Notebook Support
152
141
153
142
For use in the classic [Jupyter Notebook](https://jupyter.org/), install the `notebook` and `ipywidgets`
154
143
packages using `pip`:
155
144
156
145
```
157
-
$ pip install "notebook>=5.3" "ipywidgets>=7.5"
146
+
pip install "notebook>=7.0" "anywidget>=0.9.13"
158
147
```
159
148
160
149
or `conda`:
161
150
162
151
```
163
-
$ conda install "notebook>=5.3" "ipywidgets>=7.5"
152
+
conda install "notebook>=7.0" "anywidget>=0.9.13"
164
153
```
165
154
166
155
These packages contain everything you need to run a Jupyter notebook...
0 commit comments