Skip to content

Commit 34dfbb8

Browse files
authored
Merge pull request #419 from martinRenou/add_missing_install_command
Add missing installation command
2 parents f87a8c9 + 099fd3d commit 34dfbb8

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,7 @@ notebook 5.3 and above
5151
If you have JupyterLab, you will also need to install the JupyterLab extension:
5252

5353
```
54-
$ jupyter labextension install jupyter-leaflet
55-
```
56-
57-
Some users have found that the ``jupyterlab-manager`` is also required
58-
in jupyterlab if the map does not display.
59-
60-
```
61-
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager
54+
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-leaflet
6255
```
6356

6457
## Installation from sources
@@ -71,7 +64,7 @@ $ cd ipyleaflet
7164
$ pip install -e .
7265
$ jupyter nbextension install --py --symlink --sys-prefix ipyleaflet
7366
$ jupyter nbextension enable --py --sys-prefix ipyleaflet
74-
$ jupyter labextension install js # If you are developing on JupyterLab
67+
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager js # If you are developing on JupyterLab
7568
```
7669

7770
Note for developers:

docs/source/installation.rst

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,7 @@ If you have JupyterLab, you will also need to install the JupyterLab extension:
2222

2323
.. code:: bash
2424
25-
jupyter labextension install jupyter-leaflet
26-
27-
Some users have found that the ``jupyterlab-manager`` is also required
28-
if the map does not display. See `issue 173
29-
<https://github.com/jupyter-widgets/ipyleaflet/issues/173>`_ and
30-
`issue 168
31-
<https://github.com/jupyter-widgets/ipyleaflet/issues/168>`_ for
32-
details.
33-
34-
.. code:: bash
35-
36-
jupyter labextension install @jupyter-widgets/jupyterlab-manager
25+
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-leaflet
3726
3827
Development installation
3928
========================
@@ -47,7 +36,7 @@ For a development installation (requires npm):
4736
pip install -e .
4837
jupyter nbextension install --py --symlink --sys-prefix ipyleaflet
4938
jupyter nbextension enable --py --sys-prefix ipyleaflet
50-
jupyter labextension install js # If you are developing on JupyterLab
39+
jupyter labextension install @jupyter-widgets/jupyterlab-manager js # If you are developing on JupyterLab
5140
5241
Note for developers:
5342

0 commit comments

Comments
 (0)