Skip to content

Commit db9e619

Browse files
authored
Update install instructions for JupyterLab 3.x, update/add missing links (jupyter#409)
1 parent d6f35e7 commit db9e619

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

widgets.html

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ <h3 class="col-sm-12 section-header">Notebook Widgets</h3>
108108
<a href="https://mybinder.org/v2/gh/jupyter-widgets/ipyleaflet/stable?filepath=examples">
109109
<img class="img-scaling" src="assets/mybinder.svg" alt="Binder">
110110
</a>
111-
<a href="https://github.com/ellisonbg/ipyleaflet">
111+
<a href="https://github.com/jupyter-widgets/ipyleaflet">
112112
<img class="img-scaling" src="assets/github.svg" alt="GitHub">
113113
</a>
114114
</span>
@@ -133,14 +133,23 @@ <h3>Installation</h3>
133133
With conda:
134134
{% highlight bash %}conda install -c conda-forge ipyleaflet{% endhighlight %}
135135
With pip:
136-
{% highlight bash %}pip install ipyleaflet
137-
jupyter nbextension enable --py --sys-prefix ipyleaflet{% endhighlight %}
138-
If you are using JupyterLab, you will need to install the JupyterLab extension:
136+
{% highlight bash %}pip install ipyleaflet{% endhighlight %}
137+
If you are using the classic Jupyter Notebook &#60; 5.3 you need to run this extra command:
138+
{% highlight bash %}jupyter nbextension enable --py --sys-prefix ipyleaflet{% endhighlight %}
139+
If you are using JupyterLab ≤ 2, you will need to install the JupyterLab extension:
139140
{% highlight bash %}jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-leaflet{% endhighlight %}
140141
</div>
141142
<div class="tab-pane" id="nglview">
142143
<div class="jupyter-widget-header">
143144
<span class="gallery-title">nglview</span>
145+
<span>
146+
<a href="https://mybinder.org/v2/gh/hainm/nglview-binder/master?urlpath=lab/tree/nglview/notebooks">
147+
<img class="img-scaling" src="assets/mybinder.svg" alt="Binder">
148+
</a>
149+
<a href="https://github.com/nglviewer/nglview">
150+
<img class="img-scaling" src="assets/github.svg" alt="GitHub">
151+
</a>
152+
</span>
144153
</div>
145154
<p>
146155
A Jupyter widget to interactively view molecular structures and trajectories.
@@ -209,10 +218,10 @@ <h3>Installation</h3>
209218
<div class="jupyter-widget-header">
210219
<span class="gallery-title">bqplot</span>
211220
<span>
212-
<a href="https://mybinder.org/v2/gh/bloomberg/bqplot/stable?filepath=examples">
221+
<a href="https://mybinder.org/v2/gh/bqplot/bqplot/stable?filepath=examples">
213222
<img class="img-scaling" src="assets/mybinder.svg" alt="Binder">
214223
</a>
215-
<a href="https://github.com/bloomberg/bqplot">
224+
<a href="https://github.com/bqplot/bqplot">
216225
<img class="img-scaling" src="assets/github.svg" alt="GitHub">
217226
</a>
218227
</span>
@@ -236,20 +245,19 @@ <h3>Installation</h3>
236245
With conda:
237246
{% highlight bash %}conda install -c conda-forge bqplot{% endhighlight %}
238247
With pip:
239-
{% highlight bash %}pip install bqplot
240-
jupyter nbextension enable --py --sys-prefix bqplot{% endhighlight %}
241-
If you are using JupyterLab, you will need to install the JupyterLab extension:
248+
{% highlight bash %}pip install bqplot{% endhighlight %}
249+
If you are using the classic Jupyter Notebook &#60; 5.3 you need to run this extra command:
250+
{% highlight bash %}jupyter nbextension enable --py --sys-prefix bqplot{% endhighlight %}
251+
If you are using JupyterLab ≤ 2, you will need to install the JupyterLab extension:
242252
{% highlight bash %}jupyter labextension install @jupyter-widgets/jupyterlab-manager bqplot{% endhighlight %}
243253
</div>
244254
<div class="tab-pane" id="pythreejs">
245255
<div class="jupyter-widget-header">
246256
<span class="gallery-title">pythreejs</span>
247257
<span>
248-
<!--
249-
<a href="https://mybinder.org/repo/jupyter-widgets/pythreejs/examples">
258+
<a href="https://mybinder.org/v2/gh/jupyter-widgets/pythreejs/HEAD?urlpath=lab%2Ftree%2Fexamples%2FExamples.ipynb">
250259
<img class="img-scaling" src="assets/mybinder.svg" alt="Binder">
251260
</a>
252-
-->
253261
<a href="https://github.com/jupyter-widgets/pythreejs">
254262
<img class="img-scaling" src="assets/github.svg" alt="GitHub">
255263
</a>
@@ -273,9 +281,10 @@ <h3>Installation</h3>
273281
With conda:
274282
{% highlight bash %}conda install -c conda-forge pythreejs{% endhighlight %}
275283
With pip:
276-
{% highlight bash %}pip install pythreejs
277-
jupyter nbextension enable --py --sys-prefix pythreejs{% endhighlight %}
278-
If you are using JupyterLab, you will need to install the JupyterLab extension:
284+
{% highlight bash %}pip install pythreejs{% endhighlight %}
285+
If you are using the classic Jupyter Notebook &#60; 5.3 you need to run this extra command:
286+
{% highlight bash %}jupyter nbextension enable --py --sys-prefix pythreejs{% endhighlight %}
287+
If you are using JupyterLab ≤ 2, you will need to install the JupyterLab extension:
279288
{% highlight bash %}jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-threejs{% endhighlight %}
280289
</div>
281290
<div class="tab-pane" id="ipyvolume">

0 commit comments

Comments
 (0)