forked from SamLau95/nbinteract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmotivation.html
61 lines (42 loc) · 2.58 KB
/
motivation.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
---
prev_page: '/index.html'
next_page: '/tutorial/tutorial_intro.html'
---
{% raw %}
<div id="ipython-notebook">
<div class="buttons">
<button class="interact-button js-nbinteract-widget">
Show Widgets
</button>
</div>
<div class="nbinteract-hide_in
cell border-box-sizing code_cell rendered">
<div class="input">
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># HIDDEN</span>
<span class="c1"># Clear previously defined variables</span>
<span class="o">%</span><span class="k">reset</span> -f
</pre></div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h1 id="Motivation">Motivation<a class="anchor-link" href="#Motivation">¶</a></h1>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<p><code>nbinteract</code> aims to enable authors and educators to easily create and share interactive web pages.</p>
<p>Interactive explanations of concepts are useful for communicating and explaining tricky concepts. Consider these explanations for <a href="http://setosa.io/ev/ordinary-least-squares-regression/">linear regression</a> and <a href="https://students.brown.edu/seeing-theory/compound-probability/index.html#third">conditional probability</a>, for example.</p>
<p>However, making an interactive webpage often requires significant knowledge of web technologies and especially Javascript. While <a href="http://jupyter.org/widgets.html">Jupyter widgets</a> allow authors to generate interactive interfaces directly in a Jupyter notebook, sharing these demos typically requires readers to run the notebook. This causes issues when the reader's computer lacks (correct versions of) the packages needed to completely run the notebook.</p>
<p><code>nbinteract</code> provides a single binary that converts Jupyter notebooks into HTML pages. The resulting HTML pages can be shared with the public, keeping any interactivity created using Jupyter widgets. For example, the interactive parts of this website are entirely generated from notebooks using <code>nbinteract</code>.</p>
<p>In addition, <code>nbinteract</code> provides a Python package. Once imported, <code>nbinteract</code> provides helper methods that allow users to create simple interactive visualizations with single function calls.</p>
</div>
</div>
</div>
</div>
{% endraw %}