j1-template 2022.2.3 → 2022.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/assets/themes/j1/adapter/js/analytics.js +13 -13
  3. data/assets/themes/j1/adapter/js/nbinteract.js +192 -39
  4. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +30 -40
  5. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  6. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +23 -12
  7. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  8. data/assets/themes/j1/core/js/template.js +1 -1
  9. data/assets/themes/j1/core/js/template.min.js +1 -1
  10. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  11. data/assets/themes/j1/modules/carousel/css/theme/uno.css +5 -0
  12. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  13. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.css +6 -0
  14. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.min.css +1 -1
  15. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.css +2 -2
  16. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +1 -2
  17. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.css +33 -33
  18. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.min.css +1 -1
  19. data/assets/themes/j1/modules/nbInteract/js/requireJS/require.js +2068 -0
  20. data/assets/themes/j1/modules/nbInteract/js/requireJS/require.min.js +36 -0
  21. data/assets/themes/j1/modules/plotly/LICENSE +21 -0
  22. data/assets/themes/j1/modules/plotly/README.md +32 -0
  23. data/assets/themes/j1/modules/plotly/js/plotly.js +265345 -0
  24. data/assets/themes/j1/modules/plotly/js/plotly.min.js +65 -0
  25. data/assets/themes/j1/modules/requirejs/LICENSE +45 -0
  26. data/assets/themes/j1/modules/requirejs/README.md +79 -0
  27. data/assets/themes/j1/modules/requirejs/js/require.js +2068 -0
  28. data/assets/themes/j1/modules/requirejs/js/require.min.js +36 -0
  29. data/lib/j1/version.rb +1 -1
  30. data/lib/starter_web/Gemfile +1 -1
  31. data/lib/starter_web/_config.yml +1 -1
  32. data/lib/starter_web/_data/modules/analytics.yml +8 -23
  33. data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -1
  34. data/lib/starter_web/_data/modules/justifiedGallery.yml +14 -8
  35. data/lib/starter_web/_data/modules/navigator_menu.yml +6 -3
  36. data/lib/starter_web/_data/modules/nbinteract.yml +12 -48
  37. data/lib/starter_web/_data/resources.yml +56 -0
  38. data/lib/starter_web/_includes/attributes.asciidoc +11 -0
  39. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  40. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
  41. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
  42. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
  43. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
  44. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
  45. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
  46. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
  47. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
  48. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
  49. data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
  50. data/lib/starter_web/assets/videos/gallery/nye-party-shop-poster.jpg +0 -0
  51. data/lib/starter_web/assets/videos/gallery/stay-colorful-poster.jpg +0 -0
  52. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -0
  53. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -0
  54. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -0
  55. data/lib/starter_web/package.json +1 -2
  56. data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +16 -16
  57. data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +149 -2
  58. data/lib/starter_web/pages/public/jupyter/docs/nbinteract-doc.adoc +1 -1
  59. data/lib/starter_web/pages/public/jupyter/examples/j1-circular-times-table.adoc +137 -0
  60. data/lib/starter_web/pages/public/jupyter/examples/j1-interactive-widgets.adoc +2 -2
  61. data/lib/starter_web/pages/public/jupyter/examples/j1-odes-in-python.adoc +11 -6
  62. data/lib/starter_web/pages/public/jupyter/examples/j1-testing-plotly.adoc +86 -0
  63. data/lib/starter_web/pages/public/jupyter/examples/j1_climate-change-forecast.adoc +2 -2
  64. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +1058 -0
  65. data/lib/starter_web/pages/public/jupyter/notebooks/j1/{j1_ode_selected.ipynb → .ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb} +1 -1
  66. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +20 -20
  67. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/{j1_altair_interactive_test-checkpoint.ipynb → j1_ode_selected-checkpoint.ipynb} +99 -318
  68. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +15227 -0
  69. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_circular_times_table.ipynb +12390 -0
  70. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_climate_change_forecast.ipynb +2 -2
  71. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_docs_example_dynamic.ipynb +1 -1
  72. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +20 -20
  73. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_odes_in_python.ipynb +15227 -0
  74. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +323 -0
  75. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +387 -0
  76. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +384 -0
  77. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_interact-checkpoint.ipynb +254 -0
  78. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_monty_hall-checkpoint.ipynb +732 -0
  79. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_tutorial_monty_hall.ipynb +25 -26
  80. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +749 -0
  81. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +2 -2
  82. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
  83. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +919 -919
  84. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -0
  85. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +242 -242
  86. data/lib/starter_web/pages/public/jupyter/services/binderhub.adoc +3 -3
  87. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  88. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +9 -15
  89. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
  90. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
  91. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
  92. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  93. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
  94. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +117 -12
  95. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  96. data/lib/starter_web/utilsrv/package.json +1 -1
  97. metadata +38 -22
  98. data/lib/starter_web/assets/videos/gallery/adriana-lima-poster.jpg +0 -0
  99. data/lib/starter_web/pages/public/jupyter/notebooks/binder/binder-launches.ipynb +0 -385
  100. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -6
  101. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/binder-launches-checkpoint.ipynb +0 -385
  102. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/google_altair-checkpoint.ipynb +0 -33
  103. data/lib/starter_web/pages/public/jupyter/notebooks/j1/binder-launches.ipynb +0 -411
  104. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/binder-launches.html +0 -670
  105. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_ode_selected.html +0 -186
  106. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/excel.py +0 -55
  107. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot.py +0 -108
  108. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot2.py +0 -108
  109. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/husky.py +0 -121
  110. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/latimes.py +0 -149
  111. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/pcolor.py +0 -6
  112. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/quartz.py +0 -55
  113. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_base.py +0 -94
  114. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_mono.py +0 -158
  115. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/sunsentinel.py +0 -125
@@ -88,7 +88,7 @@
88
88
  {
89
89
  "data": {
90
90
  "application/vnd.jupyter.widget-view+json": {
91
- "model_id": "bf35047d7766497b9ee1cba246b03707",
91
+ "model_id": "f7bc19921ed64ea98d52d1c59b0ff6fc",
92
92
  "version_major": 2,
93
93
  "version_minor": 0
94
94
  },
@@ -121,7 +121,7 @@
121
121
  {
122
122
  "data": {
123
123
  "application/vnd.jupyter.widget-view+json": {
124
- "model_id": "99d6198830e247cb893a168e2753a5c5",
124
+ "model_id": "4e20d1c8f3c7425590ff1cea1df7d648",
125
125
  "version_major": 2,
126
126
  "version_minor": 0
127
127
  },
@@ -171,13 +171,13 @@
171
171
  },
172
172
  {
173
173
  "cell_type": "code",
174
- "execution_count": 5,
174
+ "execution_count": 4,
175
175
  "metadata": {},
176
176
  "outputs": [
177
177
  {
178
178
  "data": {
179
179
  "application/vnd.jupyter.widget-view+json": {
180
- "model_id": "bfe8a600ac8f4ebc87f0740c1dac52fc",
180
+ "model_id": "d5534d93a8fd4fa08844b24c2dffe6fe",
181
181
  "version_major": 2,
182
182
  "version_minor": 0
183
183
  },
@@ -204,13 +204,13 @@
204
204
  },
205
205
  {
206
206
  "cell_type": "code",
207
- "execution_count": 6,
207
+ "execution_count": 5,
208
208
  "metadata": {},
209
209
  "outputs": [
210
210
  {
211
211
  "data": {
212
212
  "application/vnd.jupyter.widget-view+json": {
213
- "model_id": "04ef86373d1c4cc08aa50efe79856338",
213
+ "model_id": "f0afa697e6a24f1c9fd422b0b660d09a",
214
214
  "version_major": 2,
215
215
  "version_minor": 0
216
216
  },
@@ -262,13 +262,13 @@
262
262
  },
263
263
  {
264
264
  "cell_type": "code",
265
- "execution_count": 7,
265
+ "execution_count": 6,
266
266
  "metadata": {},
267
267
  "outputs": [
268
268
  {
269
269
  "data": {
270
270
  "application/vnd.jupyter.widget-view+json": {
271
- "model_id": "f8b5825f6baa43a09e9d3f1a97cd5160",
271
+ "model_id": "0bf2fadf696943269dd528cd8d00e76a",
272
272
  "version_major": 2,
273
273
  "version_minor": 0
274
274
  },
@@ -307,13 +307,13 @@
307
307
  },
308
308
  {
309
309
  "cell_type": "code",
310
- "execution_count": 8,
310
+ "execution_count": 7,
311
311
  "metadata": {},
312
312
  "outputs": [
313
313
  {
314
314
  "data": {
315
315
  "application/vnd.jupyter.widget-view+json": {
316
- "model_id": "1c460900e3344172a0923b8a553dc335",
316
+ "model_id": "4f862fa39f0444e19e8aba63adc5dcbe",
317
317
  "version_major": 2,
318
318
  "version_minor": 0
319
319
  },
@@ -347,13 +347,13 @@
347
347
  },
348
348
  {
349
349
  "cell_type": "code",
350
- "execution_count": 10,
350
+ "execution_count": 8,
351
351
  "metadata": {},
352
352
  "outputs": [
353
353
  {
354
354
  "data": {
355
355
  "application/vnd.jupyter.widget-view+json": {
356
- "model_id": "96f8871c33714eb7aac5af5e485df8da",
356
+ "model_id": "c7baaa8b023e48648c27b988f617ce90",
357
357
  "version_major": 2,
358
358
  "version_minor": 0
359
359
  },
@@ -395,7 +395,7 @@
395
395
  },
396
396
  {
397
397
  "cell_type": "code",
398
- "execution_count": 11,
398
+ "execution_count": 9,
399
399
  "metadata": {
400
400
  "scrolled": true
401
401
  },
@@ -403,7 +403,7 @@
403
403
  {
404
404
  "data": {
405
405
  "application/vnd.jupyter.widget-view+json": {
406
- "model_id": "d62db33df0e8460f88deb7d27cb401ce",
406
+ "model_id": "d6a69e3020b84b22999e421cd02eb5ed",
407
407
  "version_major": 2,
408
408
  "version_minor": 0
409
409
  },
@@ -432,7 +432,7 @@
432
432
  },
433
433
  {
434
434
  "cell_type": "code",
435
- "execution_count": 12,
435
+ "execution_count": 10,
436
436
  "metadata": {
437
437
  "scrolled": false
438
438
  },
@@ -440,7 +440,7 @@
440
440
  {
441
441
  "data": {
442
442
  "application/vnd.jupyter.widget-view+json": {
443
- "model_id": "cff9731983e34e5ab6bae9eb172559d0",
443
+ "model_id": "a7fe055237e04c91adb52dae525e7b01",
444
444
  "version_major": 2,
445
445
  "version_minor": 0
446
446
  },
@@ -488,13 +488,13 @@
488
488
  },
489
489
  {
490
490
  "cell_type": "code",
491
- "execution_count": 14,
491
+ "execution_count": 11,
492
492
  "metadata": {},
493
493
  "outputs": [
494
494
  {
495
495
  "data": {
496
496
  "application/vnd.jupyter.widget-view+json": {
497
- "model_id": "ee86cc716b2d4526b7466a5f17978f8f",
497
+ "model_id": "f248871830ca4347a74fa9d72f57eb1d",
498
498
  "version_major": 2,
499
499
  "version_minor": 0
500
500
  },
@@ -526,13 +526,13 @@
526
526
  },
527
527
  {
528
528
  "cell_type": "code",
529
- "execution_count": 16,
529
+ "execution_count": 12,
530
530
  "metadata": {},
531
531
  "outputs": [
532
532
  {
533
533
  "data": {
534
534
  "application/vnd.jupyter.widget-view+json": {
535
- "model_id": "22f85427ae774415bd246912af1a7690",
535
+ "model_id": "d962e61f2d9d4c2fba952089e171f36d",
536
536
  "version_major": 2,
537
537
  "version_minor": 0
538
538
  },
@@ -573,13 +573,13 @@
573
573
  },
574
574
  {
575
575
  "cell_type": "code",
576
- "execution_count": 17,
576
+ "execution_count": 13,
577
577
  "metadata": {},
578
578
  "outputs": [
579
579
  {
580
580
  "data": {
581
581
  "application/vnd.jupyter.widget-view+json": {
582
- "model_id": "02f57c08851948e4b19d8fa04d84ea5c",
582
+ "model_id": "d4cef03fa60f436e929eeb541808dc62",
583
583
  "version_major": 2,
584
584
  "version_minor": 0
585
585
  },
@@ -620,13 +620,13 @@
620
620
  },
621
621
  {
622
622
  "cell_type": "code",
623
- "execution_count": 18,
623
+ "execution_count": 14,
624
624
  "metadata": {},
625
625
  "outputs": [
626
626
  {
627
627
  "data": {
628
628
  "application/vnd.jupyter.widget-view+json": {
629
- "model_id": "24e23c02db6a42d6bd96e43fab87a0aa",
629
+ "model_id": "f2dafc198d9441b380266cdedc1fccab",
630
630
  "version_major": 2,
631
631
  "version_minor": 0
632
632
  },
@@ -660,8 +660,7 @@
660
660
  "source": [
661
661
  "Our distribution gets smoother as the number of repetitions increases since we have more proportions to plot. However, the spread of the distribution remains the same.\n",
662
662
  "\n",
663
- "#### Results",
664
- "\n",
663
+ "#### Results\n",
665
664
  "Through simulation, we've shown that increasing the sample size causes our distribution of proportions to become more narrowly distributed. Increasing the number of repetitions makes our distribution look smoother when plotted but doesn't affect the distribution spread.\n",
666
665
  "\n",
667
666
  "We've also seen through increasing the sample size shows that our distribution is centered at 0.66. This implies that the probability of winning the Monty Hall game when switching is around 0.66, and thus the probability of winning the Monty Hall game when staying is around 0.33."