j1-template 2022.4.4 → 2022.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/layouts/home.yml +2 -2
- data/lib/starter_web/_includes/attributes.asciidoc +9 -2
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-common-used-widgets.adoc +1 -1
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_bar_chart.ipynb +1 -1
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_line_chart.ipynb +6 -6
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_scatter_chart.ipynb +4 -4
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_scatter_drag_chart.ipynb +1 -1
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +1 -1
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +4 -4
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +1 -1
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +1 -1
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b082cd796ffa9f3c4c44e6bfbead34ca62a3480e5967c60ddba5e78ae4efbc7
|
|
4
|
+
data.tar.gz: 0b8577206b8d6161f99d085e7c6dc8d1f2854ad94e0fa69ec45310889edac27b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e247237fc6bfe41590a77592da7e13d65a3f882dd6627a17032d0f1907c631b58528b4a921bc2484697a7bc9b10b6e14a61ab373558c4b7cfe46d847779aa62
|
|
7
|
+
data.tar.gz: 15e8f6ae329f3074b8d0a7dc639ff90e9b2142ce1e7d256ed5b634128fa1a554bc5c0da40b08c921e4aab1ed93e2b0724d7d50de86bc2584cb6207a40a660a74
|
data/lib/j1/version.rb
CHANGED
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.4.
|
|
56
|
+
gem 'j1-template', '~> 2022.4.5'
|
|
57
57
|
|
|
58
58
|
# ------------------------------------------------------------------------------
|
|
59
59
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/_config.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ------------------------------------------------------------------------------
|
|
2
2
|
# ~/_config.yml
|
|
3
|
-
# Global Jekyll site configuration (
|
|
3
|
+
# Global Jekyll site configuration (runtime)
|
|
4
4
|
#
|
|
5
5
|
# Product/Info:
|
|
6
6
|
# https://jekyll.one
|
|
@@ -53,7 +53,7 @@ environment: development
|
|
|
53
53
|
# ------------------------------------------------------------------------------
|
|
54
54
|
# Sets the build version of J1 Template Gem
|
|
55
55
|
#
|
|
56
|
-
version: 2022.4.
|
|
56
|
+
version: 2022.4.5
|
|
57
57
|
|
|
58
58
|
# version
|
|
59
59
|
# ------------------------------------------------------------------------------
|
|
@@ -295,7 +295,7 @@ lanes:
|
|
|
295
295
|
id: home_service_panel
|
|
296
296
|
region: body-main
|
|
297
297
|
type: async
|
|
298
|
-
properties: g-2 elevated-
|
|
298
|
+
properties: g-2 elevated-z1
|
|
299
299
|
|
|
300
300
|
# ----------------------------------------------------------------------------
|
|
301
301
|
# INTRO panel
|
|
@@ -317,7 +317,7 @@ lanes:
|
|
|
317
317
|
id: home_intro_panel
|
|
318
318
|
region: body-main
|
|
319
319
|
type: async
|
|
320
|
-
properties: g-2 elevated-
|
|
320
|
+
properties: g-2 elevated-z1
|
|
321
321
|
|
|
322
322
|
# ----------------------------------------------------------------------------
|
|
323
323
|
# PARALLAX banner
|
|
@@ -45,7 +45,6 @@ tag::urls[]
|
|
|
45
45
|
|
|
46
46
|
:url-ben-balter-blog--collections: https://ben.balter.com/2015/02/20/jekyll-collections/
|
|
47
47
|
|
|
48
|
-
|
|
49
48
|
:url-broadbandsearch--mobile-internet-usage: https://www.broadbandsearch.net/blog/mobile-desktop-internet-usage-statistics
|
|
50
49
|
|
|
51
50
|
:url-bs-cookie-banner--gh-repo: https://github.com/shaack/bootstrap-cookie-banner/
|
|
@@ -186,6 +185,14 @@ tag::urls[]
|
|
|
186
185
|
|
|
187
186
|
:url-iframe-resizer--gh-repo: https://github.com/davidjbradshaw/iframe-resizer/
|
|
188
187
|
|
|
188
|
+
:url-j1-docs-binderhub--local: /public/jupyter/docs/binderhub/
|
|
189
|
+
:url-j1-docs-jupyterhub--local: /public/jupyter/docs/jupyterhub/
|
|
190
|
+
:url-j1-docs-binderhub--remote: https://jekyll.one/pages/public/jupyter/docs/binderhub/
|
|
191
|
+
:url-j1-docs-jupyterhub--remote: https://jekyll.one/pages/public/jupyter/docs/jupyterhub/
|
|
192
|
+
|
|
193
|
+
:url-j1-gh-binder-repo--requirements-txt: https://github.com/jekyll-one/j1-binder-repo
|
|
194
|
+
:url-j1-gh-binder-repo--environment-yml: https://github.com/jekyll-one/j1-binder-nbinteract
|
|
195
|
+
|
|
189
196
|
:url-j1--features: /pages/public/about/features/
|
|
190
197
|
|
|
191
198
|
:url-j1--home: https://jekyll.one/
|
|
@@ -357,7 +364,7 @@ tag::urls[]
|
|
|
357
364
|
|
|
358
365
|
:url-ruby-sass--home: https://sass-lang.com/ruby-sass/
|
|
359
366
|
|
|
360
|
-
:url-sass-lang--home: https://sass-lang.com/
|
|
367
|
+
:url-sass-lang--home: https://sass-lang.com/
|
|
361
368
|
:url-sass-lang--gh-repo: https://github.com/sass/dart-sass/
|
|
362
369
|
|
|
363
370
|
:url-jamstack--home: https://jamstack.org/
|
|
Binary file
|
|
@@ -145,7 +145,7 @@ in the same format as ipywidgets.interact. Any argument that can be used for
|
|
|
145
145
|
|
|
146
146
|
textbook::j1_nbi_widgets_hist_chart[]
|
|
147
147
|
|
|
148
|
-
===
|
|
148
|
+
=== Bar chart
|
|
149
149
|
|
|
150
150
|
The widget `nbinteract.bar` generates an bar plot that allows interaction
|
|
151
151
|
with the parameters for the response functions.
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"cell_type": "code",
|
|
16
|
-
"execution_count":
|
|
16
|
+
"execution_count": 3,
|
|
17
17
|
"metadata": {},
|
|
18
18
|
"outputs": [
|
|
19
19
|
{
|
|
20
20
|
"data": {
|
|
21
21
|
"application/vnd.jupyter.widget-view+json": {
|
|
22
|
-
"model_id": "
|
|
22
|
+
"model_id": "2a3ec49c193d4c989bc03565640b1853",
|
|
23
23
|
"version_major": 2,
|
|
24
24
|
"version_minor": 0
|
|
25
25
|
},
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"def x_fn(max):\n",
|
|
36
36
|
" return np.arange(0, max + 1)\n",
|
|
37
37
|
"\n",
|
|
38
|
-
"def y_fn(xs,
|
|
39
|
-
" return xs + np.random.normal(0, scale=
|
|
38
|
+
"def y_fn(xs, noise):\n",
|
|
39
|
+
" return xs + np.random.normal(0, scale=noise, size=len(xs))\n",
|
|
40
40
|
"\n",
|
|
41
41
|
"\n",
|
|
42
42
|
"options = {\n",
|
|
43
43
|
" 'title': 'Line chart',\n",
|
|
44
44
|
" 'xlabel': 'x-values (max)',\n",
|
|
45
|
-
" 'ylabel': 'y-values (
|
|
45
|
+
" 'ylabel': 'y-values (noise)', \n",
|
|
46
46
|
" 'xlim': (0, 50),\n",
|
|
47
47
|
" 'ylim': (-20, 70),\n",
|
|
48
48
|
" 'animation_duration': 500\n",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
" x_fn,\n",
|
|
58
58
|
" y_fn,\n",
|
|
59
59
|
" max=(10, 50),\n",
|
|
60
|
-
"
|
|
60
|
+
" noise=(0, 10),\n",
|
|
61
61
|
" options=options,\n",
|
|
62
62
|
" layouts=layouts\n",
|
|
63
63
|
")\n",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"cells": [
|
|
3
3
|
{
|
|
4
4
|
"cell_type": "code",
|
|
5
|
-
"execution_count":
|
|
5
|
+
"execution_count": 2,
|
|
6
6
|
"metadata": {},
|
|
7
7
|
"outputs": [],
|
|
8
8
|
"source": [
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"cell_type": "code",
|
|
15
|
-
"execution_count":
|
|
15
|
+
"execution_count": 3,
|
|
16
16
|
"metadata": {},
|
|
17
17
|
"outputs": [
|
|
18
18
|
{
|
|
19
19
|
"data": {
|
|
20
20
|
"application/vnd.jupyter.widget-view+json": {
|
|
21
|
-
"model_id": "
|
|
21
|
+
"model_id": "db9e67a0698d41f0b355c06b4a10d6b1",
|
|
22
22
|
"version_major": 2,
|
|
23
23
|
"version_minor": 0
|
|
24
24
|
},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"\n",
|
|
40
40
|
"\n",
|
|
41
41
|
"options = {\n",
|
|
42
|
-
" 'title': 'Scatter
|
|
42
|
+
" 'title': 'Scatter chart',\n",
|
|
43
43
|
" 'marker': 'circle',\n",
|
|
44
44
|
" 'animation_duration': 1000, \n",
|
|
45
45
|
" 'xlabel': 'x-values',\n",
|