forked from jupyter/jupyter.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidgets.html
106 lines (102 loc) · 4.54 KB
/
widgets.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
layout: default
title: Widgets
navbar_gray: true
---
<link href="css/gallery.css" rel="stylesheet">
<link href="css/syntax.css" rel="stylesheet">
<script src="https://npmcdn.com/[email protected]/dist/embed.js"></script>
<section>
<div class="header">
<div class="container">
<h1>Interactive Widgets</h1>
<p>Jupyter widgets enable interactive data visualization in the Jupyter notebooks.</p>
</div>
</div>
</section>
<section>
<div class="about-block">
<div class="container">
<img class="img-responsive widget" src="assets/widget.svg" alt="icon to represent multiple notebooks">
<p>Notebooks come alive when interactive widgets are used. Users can visualize and control changes in the data.</p>
<p>Learning becomes an immersive, plus fun, experience. Researchers can easily see how changing inputs to a model impact the results.</p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="tabbable tabs-left">
<ul class="nav nav-tabs">
<li class="active">
<a href="#ipyleaflet" data-toggle="tab">
<p>ipyleaflet</p>
<p>Geo-spatial analytics</p>
</a></li>
<li>
<a href="#bqplot" data-toggle="tab">
<p>bqplot</p>
<p>Interative 2d data visualization</p>
</a>
</li>
<li>
<a href="#pythreejs" data-toggle="tab">
<p>pythreejs</p>
<p>3d data visualization</p>
</a>
</li>
<li>
<a href="#cookiecutter" data-toggle="tab">
<p>cookiecutter</p>
<p>Template widget project</p>
</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="ipyleaflet">
<h2>ipyleaflet</h2>
<a href="https://github.com/ellisonbg/ipyleaflet">https://github.com/ellisonbg/ipyleaflet</a>
{% highlight python %}{% include_relative assets/ipyleaflet-example.py %}{% endhighlight %}
<script type="application/vnd.jupyter-embedded-widgets">
{% include_relative assets/ipyleaflet-example.json %}
</script>
</div>
<div class="tab-pane" id="bqplot">
<h2>bqplot</h2>
<a href="https://github.com/bloomberg/bqplot">https://github.com/bloomberg/bqplot</a>
{% highlight python %}{% include_relative assets/bqplot-example.py %}{% endhighlight %}
<script type="application/vnd.jupyter-embedded-widgets">
{% include_relative assets/bqplot-example.json %}
</script>
</div>
<div class="tab-pane" id="pythreejs">
<h2>pythreejs</h2>
<a href="https://github.com/jovyan/pythreejs">https://github.com/jovyan/pythreejs</a>
{% highlight python %}{% include_relative assets/pythreejs-example.py %}{% endhighlight %}
<script type="application/vnd.jupyter-embedded-widgets">
{% include_relative assets/pythreejs-example.json %}
</script>
</div>
<div class="tab-pane" id="cookiecutter">
<h2>widget cookiecutter</h2>
<a href="https://github.com/jupyter/widget-cookiecutter">https://github.com/jupyter/widget-cookiecutter</a>
<div class="widgets-paragraph">
<p>
The Jupyter widget framework is extensible and enables developers to create custom
widget libraries and bindings for visualization libraries of the JavaScript ecosystem.
</p>
<p>
The <code>cookiecutter</code> project helps widget authors get up to speed with the
packaging and distribution of Jupyter interactive widgets.
</p>
<p>
It produces a base project for a Jupyter interactive widget library following the current best practices.
An implementation for a placeholder "Hello World" widget is provided. Following these practices will
help make your custom widgets work in static web pages (like the examples of this page) and be compatible
with future versions of Jupyter.
</p>
</div>
</div>
</div>
</div>
</div>
</section>