j1-template 2022.3.1 → 2022.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/navigator/generator.html +1 -1
- data/assets/data/cookieconsent.html +4 -4
- data/assets/data/nbinteract.html +128 -0
- data/assets/data/quicklinks.html +15 -0
- data/assets/data/translator.html +15 -15
- data/assets/themes/j1/adapter/js/mmenu.js +25 -3
- data/assets/themes/j1/adapter/js/navigator.js +2 -2
- data/assets/themes/j1/adapter/js/nbinteract.js +230 -34
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +27 -54
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +14 -3
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js +1 -1
- data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js.map +1 -1
- data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.min.js +1 -1
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +51 -41
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -0
- data/lib/starter_web/_data/modules/defaults/nbinteract.yml +95 -1
- data/lib/starter_web/_data/modules/defaults/translator.yml +24 -12
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +2 -3
- data/lib/starter_web/pages/public/jupyter/docs/nbinteract-doc.adoc +17 -17
- data/lib/starter_web/pages/public/jupyter/examples/j1-circular-times-table.adoc +7 -8
- data/lib/starter_web/pages/public/jupyter/examples/j1-interactive-widgets.adoc +4 -5
- data/lib/starter_web/pages/public/jupyter/examples/j1-odes-in-python.adoc +5 -6
- data/lib/starter_web/pages/public/jupyter/examples/j1-testing-plotly.adoc +3 -4
- data/lib/starter_web/pages/public/jupyter/examples/j1_climate-change-forecast.adoc +4 -4
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +26 -26
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +26 -26
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_central_limit_theorem-checkpoint.ipynb +247 -0
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +18 -18
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_examples_central_limit_theorem.ipynb +1 -2
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_recipes_graphing.ipynb +18 -18
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +919 -919
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_graphing.html +473 -473
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +4 -2
data/lib/j1/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module J1
|
2
|
-
VERSION = '2022.3.
|
3
|
-
end
|
1
|
+
module J1
|
2
|
+
VERSION = '2022.3.2'
|
3
|
+
end
|
data/lib/starter_web/Gemfile
CHANGED
@@ -53,7 +53,7 @@ gem 'jekyll', '~> 4.2'
|
|
53
53
|
|
54
54
|
# Theme Rubies, default: J1 Template (NOT used for the development system)
|
55
55
|
#
|
56
|
-
gem 'j1-template', '~> 2022.3.
|
56
|
+
gem 'j1-template', '~> 2022.3.2'
|
57
57
|
|
58
58
|
# ------------------------------------------------------------------------------
|
59
59
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/_config.yml
CHANGED
@@ -53,7 +53,7 @@ environment: development
|
|
53
53
|
# ------------------------------------------------------------------------------
|
54
54
|
# Sets the build version of J1 Template Gem
|
55
55
|
#
|
56
|
-
version: 2022.3.
|
56
|
+
version: 2022.3.2
|
57
57
|
|
58
58
|
# version
|
59
59
|
# ------------------------------------------------------------------------------
|
@@ -97,26 +97,31 @@ defaults:
|
|
97
97
|
A set of data is stored in <b>Persistent Cookies</b>. Our partners and we
|
98
98
|
make use of Persistent Cookies. Those <b>additional</b> cookies are only
|
99
99
|
used with your consent.
|
100
|
-
<br
|
101
|
-
<
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
100
|
+
<br>
|
101
|
+
<ul>
|
102
|
+
<li>
|
103
|
+
<code>Necessary</code> This website is based on static content, and no
|
104
|
+
database is used behind it. All information (data) needed to control this
|
105
|
+
site is stored in so-called <b>Session Cookies</b>. Your browser automatically
|
106
|
+
<b>removes</b> session cookies if you close all windows of the browser.
|
107
|
+
</li>
|
108
|
+
<li>
|
109
|
+
<code>Analysis</code> of this website's usage helps optimize the site's
|
110
|
+
pages to improve the visitor's experience. For analysis, Google Analytics
|
111
|
+
(GA) is used. GA uses <b>Persistent Cookies</b> that remain on your computer
|
112
|
+
for its service. This website does <b>not</b> transfer any personal data to GA.
|
113
|
+
Implicit personal information, like IP addresses, is anonymized to protect
|
114
|
+
your privacy.
|
115
|
+
</li>
|
116
|
+
<li>
|
117
|
+
<code>Personalization</code> provides <b>additional services</b> like themes,
|
118
|
+
translation, comments, or running advertising campaigns to provide visitors
|
119
|
+
with a website free of charge. Partners use <b>Persistent Cookies</b> that
|
120
|
+
remain on your computer for their services. Our partners like Bootswatch,
|
121
|
+
Disqus, or Google provide excellent personalized services and finance running
|
122
|
+
this site.
|
123
|
+
</li>
|
124
|
+
</ul>
|
120
125
|
de: >
|
121
126
|
Der Betreiber dieser Website nimmt den Schutz Ihrer persönlichen Daten sehr
|
122
127
|
ernst. Wir behandeln Ihre Daten vertraulich und halten uns an die
|
@@ -126,27 +131,32 @@ defaults:
|
|
126
131
|
Eine Reihe von Daten wird in <b>dauerhaften Cookies</b> gespeichert. Unsere
|
127
132
|
Partner und wir verwenden dauerhafte Cookies. Diese <b>zusätzlichen</b> Daten
|
128
133
|
werden nur mit Ihrer <b>Zustimmung</b> gespeichert.
|
129
|
-
<br
|
130
|
-
<
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
134
|
+
<br>
|
135
|
+
<ul>
|
136
|
+
<li>
|
137
|
+
<code>Notwendig</code> Diese Website speichert <b>keine</b> persönliche Daten
|
138
|
+
in Datenbanken. Alle Informationen (Daten) die zur Steuerung dieser Seite
|
139
|
+
notwendig sind, werden in sogenannten <b>Sitzungscookies</b> gespeichert. Ihr
|
140
|
+
Browser <b>entfernt</b> Sitzungscookies automatisch ohne Ihr zutun, wenn Sie
|
141
|
+
alle Browserfenster schließen.
|
142
|
+
<li>
|
143
|
+
<code>Analysen</code> der Nutzung dieser Website hilft bei der Optimierung der
|
144
|
+
Website, um die Nutzung für alle Besucher zu verbessern. Für die Analyse wird
|
145
|
+
der Dienst <em>Google Analytics</em> (GA) verwendet. GA verwendet dauerhafte
|
146
|
+
Cookies die auf Ihrem Computer verbleiben, um diesen Dienst zu ermöglichen.
|
147
|
+
Diese Website überträgt <b>keine</b> persönlichen Daten an den Dienst GA.
|
148
|
+
Implizite persönliche Informationen, wie IP-Adressen, werden zum Schutz der
|
149
|
+
Privatsphäre unserer Besucher anonymisiert.
|
150
|
+
</li>
|
151
|
+
<li>
|
152
|
+
<code>Personalisierung</code> wird verwendet, um <b>zusätzliche</b> Dienste
|
153
|
+
anzubieten. Dazu gehören Themen, Übersetzungen, Kommentare oder Werbekampagnen
|
154
|
+
die allen Anwendern einen kostenlosen Besuch dieser Website ermöglichen.
|
155
|
+
Partner verwenden für ihre Dienste dauerhafte Cookies, die auf Ihrem Computer
|
156
|
+
verbleiben. Unsere Partner wie Bootswatch, Disqus, oder Google bieten hervorragende
|
157
|
+
personalisierte Dienste und finanzieren die Kosten für den Betrieb dieser Seiten.
|
158
|
+
</li>
|
159
|
+
</ul>
|
150
160
|
|
151
161
|
# ------------------------------------------------------------------------------
|
152
162
|
# END config
|
@@ -214,6 +214,10 @@ defaults:
|
|
214
214
|
translate_action: translate
|
215
215
|
translate_label: Google Translate
|
216
216
|
|
217
|
+
notebooks_icon: notebook
|
218
|
+
notebooks_action: nbi-notebooks
|
219
|
+
notebooks_label: NBI Notebooks
|
220
|
+
|
217
221
|
r_text_icon: false # format-text
|
218
222
|
r_text_action: rtext
|
219
223
|
r_text_label: Text Resizer
|
@@ -31,6 +31,33 @@ defaults:
|
|
31
31
|
# GENERAL settings
|
32
32
|
# ----------------------------------------------------------------------------
|
33
33
|
|
34
|
+
# contentURL (source)
|
35
|
+
# ----------------------------------------------------------------------------
|
36
|
+
# Dialog modal source.
|
37
|
+
#
|
38
|
+
# values: data path
|
39
|
+
# default: /assets/data/nbinteract
|
40
|
+
#
|
41
|
+
# ----------------------------------------------------------------------------
|
42
|
+
#
|
43
|
+
# xhrDataElement (HTML portion)
|
44
|
+
# ----------------------------------------------------------------------------
|
45
|
+
# Top level container for ALL NBI modals configured
|
46
|
+
#
|
47
|
+
# values: ID
|
48
|
+
# default: nbi-modal-data
|
49
|
+
#
|
50
|
+
# ----------------------------------------------------------------------------
|
51
|
+
#
|
52
|
+
# dialogContainerID (HTML portion)
|
53
|
+
# ----------------------------------------------------------------------------
|
54
|
+
# Container ID, the dialog modal is (dynamically) loaded
|
55
|
+
#
|
56
|
+
# values: ID
|
57
|
+
# default: nbi-dialog
|
58
|
+
#
|
59
|
+
# ----------------------------------------------------------------------------
|
60
|
+
#
|
34
61
|
# spec
|
35
62
|
# ----------------------------------------------------------------------------
|
36
63
|
# Defines the (public) repo the configuration data available
|
@@ -130,7 +157,73 @@ defaults:
|
|
130
157
|
#
|
131
158
|
# ----------------------------------------------------------------------------
|
132
159
|
#
|
133
|
-
#
|
160
|
+
# notebook_ready
|
161
|
+
# ----------------------------------------------------------------------------
|
162
|
+
# Flag that indicates if a notebook is ready (fully rendered).
|
163
|
+
# For default, the signal 'notebook_ready' is set if the 'first'
|
164
|
+
# widget in a notebook is rendered. For larger notebooks having
|
165
|
+
# many headlines, the TOC provided by the FAB in a page may
|
166
|
+
# incomplete. To indicate all resources of a page fully available,
|
167
|
+
# the option 'last_widget' may a better choice.
|
168
|
+
#
|
169
|
+
# values: first_widget | last_widget
|
170
|
+
# default: first_widget
|
171
|
+
#
|
172
|
+
# ----------------------------------------------------------------------------
|
173
|
+
#
|
174
|
+
enabled: true
|
175
|
+
|
176
|
+
contentURL: /assets/data/nbinteract
|
177
|
+
xhrDataElement: nbi-modal-data
|
178
|
+
dialogContainerID: nbi-dialog
|
179
|
+
|
180
|
+
dialogTitle: NBI Settings
|
181
|
+
dialogBodyText: >
|
182
|
+
|
183
|
+
This website uses the <b>free</b> service <em>Binder</em> to process
|
184
|
+
<b>interactive</b> widgets from content containing textbooks
|
185
|
+
(HTML exported Jupyter Notebooks).
|
186
|
+
|
187
|
+
The Binder Service allows you to create custom computing environments
|
188
|
+
that can be shared and used by many remote users. A Binder service is
|
189
|
+
powered by
|
190
|
+
<a href="https://github.com/jupyterhub/binderhub" target="_blank" rel="noopener">BinderHub Repo on Github</a>,
|
191
|
+
an open-source tool that runs on Kubernetes, a portable, extensible,
|
192
|
+
open-source platform for managing containerized services. One such deployment
|
193
|
+
lives at
|
194
|
+
<a href="https://mybinder.org/" target="_blank" rel="noopener">Binder Home</a>,
|
195
|
+
and is free to use.
|
196
|
+
|
197
|
+
<div class="admonitionblock caution">
|
198
|
+
<table style="background: rgb(255, 255, 255);font-size: 100%">
|
199
|
+
<tbody><tr>
|
200
|
+
<td class="icon">
|
201
|
+
<i class="fa icon-caution" title="Caution"></i>
|
202
|
+
</td>
|
203
|
+
<td class="content">
|
204
|
+
Each interactive element presented on this page uses <strong>time-consuming</strong>
|
205
|
+
operations that take a while to finish. The images and the interactive
|
206
|
+
elements are built through a backend in the cloud. Please be patient
|
207
|
+
to see the results.
|
208
|
+
</td>
|
209
|
+
</tr></tbody>
|
210
|
+
</table>
|
211
|
+
</div>
|
212
|
+
dialogPrivacyNotice: >
|
213
|
+
The service provided by<em>Binder</em> uses <b>cookies</b> to provide
|
214
|
+
its service. Your consent on using cookies is required. Find more
|
215
|
+
information about at the Binder at the
|
216
|
+
<a href="https://mybinder.readthedocs.io/en/latest/about/user-guidelines.html#security-and-privacy" target="_blank" rel="noopener">Privacy Policy.</a>
|
217
|
+
of Binder.
|
218
|
+
<br><br>
|
219
|
+
Required Cookie Settings:
|
220
|
+
<ul>
|
221
|
+
<li>
|
222
|
+
<code>Personalization</code> For processing textbooks, your consent on
|
223
|
+
<b>Personalization</b> with your <b>Privacy Settings</b> (Cookie Settings) is required.
|
224
|
+
</li>
|
225
|
+
</ul>
|
226
|
+
|
134
227
|
spec: jekyll-one/j1-binder-repo/main
|
135
228
|
baseUrl: 'https://mybinder.org'
|
136
229
|
provider: gh
|
@@ -145,6 +238,7 @@ defaults:
|
|
145
238
|
nbi_messages_auto_close_delay: 3500
|
146
239
|
|
147
240
|
nbi_init_mathjax: true
|
241
|
+
notebook_ready: first_widget
|
148
242
|
|
149
243
|
# ------------------------------------------------------------------------------
|
150
244
|
# END config
|
@@ -103,23 +103,35 @@ defaults:
|
|
103
103
|
about at the Google
|
104
104
|
<a href="https://policies.google.com/" target="_blank" rel="noopener">Privacy Policy</a>
|
105
105
|
<br><br>
|
106
|
-
|
107
|
-
<
|
108
|
-
<
|
109
|
-
|
110
|
-
|
106
|
+
Required Cookie Settings:
|
107
|
+
<br>
|
108
|
+
<ul>
|
109
|
+
<li>
|
110
|
+
<code>Analysis</code> For translations, your consent on
|
111
|
+
<b>Analysis</b> with your <b>Privacy Settings</b> is required.
|
112
|
+
</li>
|
113
|
+
<li>
|
114
|
+
<code>Personalization</code> For processing textbooks, your consent on
|
115
|
+
<b>Personalization</b> with your <b>Privacy Settings</b> (Cookie Settings) is required.
|
116
|
+
</li>
|
117
|
+
</ul>
|
111
118
|
de: >
|
112
119
|
Der kostenlose Dienst von <em>Google Translate</em> verwendet Cookies
|
113
120
|
um seine Dienste bereitzustellen, Werbung zu personalisieren und
|
114
121
|
Verkehrsanalysen durchzuführen:
|
115
122
|
<br><br>
|
116
|
-
<
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
+
<ul>
|
124
|
+
<li>
|
125
|
+
<code>Analysen</code> Für die Nutzung von Übersetzungen ist Ihre
|
126
|
+
Zustimmung zu <b>Analysen</b> in den Einstellungen <code>Ihre Privatsphäre</code>
|
127
|
+
erforderlich.
|
128
|
+
</li>
|
129
|
+
<li>
|
130
|
+
<code>Personalisierung</code> Für die Nutzung von Übersetzungen ist Ihre
|
131
|
+
Zustimmung zur <b>Personalisierung</b> in den Einstellungen <code>Ihre Privatsphäre</code>
|
132
|
+
erforderlich.
|
133
|
+
</li>
|
134
|
+
</ul>
|
123
135
|
|
124
136
|
# ------------------------------------------------------------------------------
|
125
137
|
# Default Deepl Translator settings (currently NOT supported)
|
@@ -96,9 +96,8 @@ endif::[]
|
|
96
96
|
// info: https://en.wikipedia.org/wiki/Galileo_Galilei
|
97
97
|
|
98
98
|
CAUTION: Each interactive element presented on this page uses *time-consuming*
|
99
|
-
operations that take a while to finish. The
|
100
|
-
|
101
|
-
to see the results.
|
99
|
+
operations that take a while to finish. The elements are built through a
|
100
|
+
backend in the cloud. Please be patient to see the results.
|
102
101
|
|
103
102
|
The Jupyter Project is a non-profit organization founded in 2014 by
|
104
103
|
_Fernando Perez_. The Jupyter project supports interactive scientific
|
@@ -87,19 +87,9 @@ ifeval::[{binder-badges-enabled} == true]
|
|
87
87
|
image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
|
88
88
|
endif::[]
|
89
89
|
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
at link:{url-nbinteract--docs}[nbinteract Docs, {browser-window--new}].
|
94
|
-
Some sections are rewritten for the text to improve clarity and simplify the
|
95
|
-
language for future translation.
|
96
|
-
|
97
|
-
Meanwhile, a lot of changes were done for the services at
|
98
|
-
link:{url-binder--home}[Binder, {browser-window--new} ], which causes the
|
99
|
-
original pages doesn't work anymore. On clicking the NBI button `Show Widgets`,
|
100
|
-
you'll encounter that all interactive pages never change their state and
|
101
|
-
get stuck in `Initializing widgets...` for an infinite initializing loop.
|
102
|
-
====
|
90
|
+
CAUTION: Each interactive element presented on this page uses *time-consuming*
|
91
|
+
operations that take a while to finish. The elements are built through a
|
92
|
+
backend in the cloud. Please be patient to see the results.
|
103
93
|
|
104
94
|
The package *nbinteract* aims to enable authors and educators to create and
|
105
95
|
share interactive web pages easily. Interactive explanations of concepts are
|
@@ -123,10 +113,20 @@ In addition, `nbinteract` provides a Python package. Once imported, the package
|
|
123
113
|
provides helper methods that allow users to create simple interactive
|
124
114
|
visualizations with single function calls.
|
125
115
|
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
116
|
+
[NOTE]
|
117
|
+
====
|
118
|
+
This document is a port for J1 Template of the original document pages
|
119
|
+
at link:{url-nbinteract--docs}[nbinteract Docs, {browser-window--new}].
|
120
|
+
Some sections are rewritten for the text to improve clarity and simplify the
|
121
|
+
language for future translation.
|
122
|
+
|
123
|
+
Meanwhile, a lot of changes were done for the services at
|
124
|
+
link:{url-binder--home}[Binder, {browser-window--new} ], which causes the
|
125
|
+
original pages doesn't work anymore. On clicking the NBI button `Show Widgets`,
|
126
|
+
you'll encounter that all interactive pages never change their state and
|
127
|
+
get stuck in `Initializing widgets...` for an infinite initializing loop.
|
128
|
+
====
|
129
|
+
|
130
130
|
|
131
131
|
== Getting Started
|
132
132
|
|
@@ -81,10 +81,9 @@ image:/assets/images/badges/notebookBinder.png[Binder, link="{binder-app-launch-
|
|
81
81
|
image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
|
82
82
|
endif::[]
|
83
83
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
original post but re-written for clarity and simplicity.
|
84
|
+
CAUTION: Each interactive element presented on this page uses *time-consuming*
|
85
|
+
operations that take a while to finish. The elements are built through a
|
86
|
+
backend in the cloud. Please be patient to see the results.
|
88
87
|
|
89
88
|
First, let's introduce the video from _Mathologer_. This video creates very
|
90
89
|
nice patterns from _Times Tables_. Everybody knows them from primary school.
|
@@ -127,10 +126,10 @@ what _Mathologer_ is doing:
|
|
127
126
|
|
128
127
|
Start your journey on the power of Mathematics!
|
129
128
|
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
129
|
+
NOTE: All examples are taken from
|
130
|
+
link:{times-tables-visualization}[Times Tables Visualization - Finding Patterns, {browser-window--new}],
|
131
|
+
and re-written for the use of module J1 NBI. Some text is used from the
|
132
|
+
original post but re-written for clarity and simplicity.
|
134
133
|
|
135
134
|
// textbook::circular_times_table[]
|
136
135
|
textbook::j1_circular_times_table[]
|
@@ -86,6 +86,10 @@ image:/assets/images/badges/notebookBinder.png[Binder, link="{binder-app-launch-
|
|
86
86
|
image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
|
87
87
|
endif::[]
|
88
88
|
|
89
|
+
CAUTION: Each interactive element presented on this page uses *time-consuming*
|
90
|
+
operations that take a while to finish. The elements are built through a
|
91
|
+
backend in the cloud. Please be patient to see the results.
|
92
|
+
|
89
93
|
Widgets are eventful python objects that have a representation in the browser,
|
90
94
|
often as a control like a slider, textbox, etc. Widgets are used to build
|
91
95
|
interactive GUIs for your notebooks, and to synchronize stateful and stateless
|
@@ -97,9 +101,4 @@ the most used. Interactive widgets are provided natively by Jupyter Notebooks
|
|
97
101
|
using the library `ipywidgets`. Some more widgets are provided by `nbinteract`.
|
98
102
|
Find common examples in the textbooks below.
|
99
103
|
|
100
|
-
CAUTION: Each interactive element presented on this page uses *time-consuming*
|
101
|
-
operations that take a while to finish. The images and the interactive
|
102
|
-
elements are built through a backend in the cloud. Please be patient
|
103
|
-
to see the results.
|
104
|
-
|
105
104
|
textbook::j1_interactive_widgets[]
|
@@ -84,8 +84,9 @@ endif::[]
|
|
84
84
|
|
85
85
|
// See: https://elc.github.io/posts/ordinary-differential-equations-with-python/
|
86
86
|
|
87
|
-
|
88
|
-
|
87
|
+
CAUTION: Each interactive element presented on this page uses *time-consuming*
|
88
|
+
operations that take a while to finish. The elements are built through a
|
89
|
+
backend in the cloud. Please be patient to see the results.
|
89
90
|
|
90
91
|
An ordinary differential equation (often abbreviated to ODE) is one
|
91
92
|
Differential equation where only derivatives of the desired function
|
@@ -100,9 +101,7 @@ describing the dynamics of the population of rabbits and foxes. Check how
|
|
100
101
|
the animals depend on each other. Manipulate some parameters to see the
|
101
102
|
influences on the rabbits and foxes population.
|
102
103
|
|
103
|
-
|
104
|
-
|
105
|
-
elements are built through a backend in the cloud. Please be patient
|
106
|
-
to see the results.
|
104
|
+
NOTE: All examples are taken from
|
105
|
+
link:{odes-in-python}[Ordinary Differential Equations (ODE) with Python, {browser-window--new}]
|
107
106
|
|
108
107
|
textbook::j1_odes_in_python[]
|
@@ -80,6 +80,9 @@ image:/assets/images/badges/notebookBinder.png[Binder, link="{binder-app-launch-
|
|
80
80
|
image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
|
81
81
|
endif::[]
|
82
82
|
|
83
|
+
CAUTION: Each interactive element presented on this page uses *time-consuming*
|
84
|
+
operations that take a while to finish. The elements are built through a
|
85
|
+
backend in the cloud. Please be patient to see the results.
|
83
86
|
|
84
87
|
== Plotly
|
85
88
|
|
@@ -87,9 +90,5 @@ lorem:sentences[5]
|
|
87
90
|
|
88
91
|
lorem:sentences[3]
|
89
92
|
|
90
|
-
CAUTION: Each interactive element presented on this page uses *time-consuming*
|
91
|
-
operations that take a while to finish. The images and the interactive
|
92
|
-
elements are built through a backend in the cloud. Please be patient
|
93
|
-
to see the results.
|
94
93
|
|
95
94
|
textbook::j1_testing_plotly[]
|
@@ -80,15 +80,15 @@ image:/assets/images/badges/notebookBinder.png[Binder, link="{binder-app-launch-
|
|
80
80
|
image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
|
81
81
|
endif::[]
|
82
82
|
|
83
|
+
CAUTION: If the J1 NBI module detects *non-interactive* textbooks, the
|
84
|
+
NBI module adapter does *not* start a Binder service for an external
|
85
|
+
computational environment.
|
86
|
+
|
83
87
|
This textbook is an example of a *non-interactive* Jupyter notebook (JN).
|
84
88
|
Jupyter Notebooks don't necessarily need to contain *interactive* widgets.
|
85
89
|
The CLI `nbinteract` can export all types of (Python-based) notebooks to
|
86
90
|
an (HTML) textbooks.
|
87
91
|
|
88
|
-
NOTE: If the J1 NBI module detects non-interactive textbooks, the module
|
89
|
-
adapter does *not* start the Binder service for an external computational
|
90
|
-
environment.
|
91
|
-
|
92
92
|
== Climate change forecasting
|
93
93
|
|
94
94
|
Predicting climate change is a very difficult business. The calculations are
|