j1-template 2022.2.3 → 2022.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/generator.html +1 -1
  3. data/assets/data/cookieconsent.html +4 -4
  4. data/assets/data/nbinteract.html +128 -0
  5. data/assets/data/quicklinks.html +15 -0
  6. data/assets/data/translator.html +15 -15
  7. data/assets/themes/j1/adapter/js/analytics.js +13 -13
  8. data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
  9. data/assets/themes/j1/adapter/js/mmenu.js +25 -3
  10. data/assets/themes/j1/adapter/js/navigator.js +2 -2
  11. data/assets/themes/j1/adapter/js/nbinteract.js +588 -146
  12. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +30 -40
  13. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  14. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +50 -66
  15. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  16. data/assets/themes/j1/core/js/template.js +15 -4
  17. data/assets/themes/j1/core/js/template.min.js +1 -1
  18. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  19. data/assets/themes/j1/modules/carousel/css/theme/uno.css +5 -0
  20. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  21. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +1 -0
  22. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.css +6 -0
  23. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.min.css +1 -1
  24. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.css +2 -2
  25. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +1 -2
  26. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.css +33 -33
  27. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.min.css +1 -1
  28. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js +1 -1
  29. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js.map +1 -1
  30. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.min.js +1 -1
  31. data/assets/themes/j1/modules/nbInteract/js/requireJS/require.js +2068 -0
  32. data/assets/themes/j1/modules/nbInteract/js/requireJS/require.min.js +36 -0
  33. data/assets/themes/j1/modules/plotly/LICENSE +21 -0
  34. data/assets/themes/j1/modules/plotly/README.md +32 -0
  35. data/assets/themes/j1/modules/plotly/js/plotly.js +265345 -0
  36. data/assets/themes/j1/modules/plotly/js/plotly.min.js +65 -0
  37. data/assets/themes/j1/modules/requirejs/LICENSE +45 -0
  38. data/assets/themes/j1/modules/requirejs/README.md +79 -0
  39. data/assets/themes/j1/modules/requirejs/js/require.js +2068 -0
  40. data/assets/themes/j1/modules/requirejs/js/require.min.js +36 -0
  41. data/lib/j1/version.rb +3 -3
  42. data/lib/starter_web/Gemfile +1 -1
  43. data/lib/starter_web/_config.yml +1 -1
  44. data/lib/starter_web/_data/modules/analytics.yml +8 -23
  45. data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -1
  46. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +55 -42
  47. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -0
  48. data/lib/starter_web/_data/modules/defaults/nbinteract.yml +95 -1
  49. data/lib/starter_web/_data/modules/defaults/translator.yml +24 -12
  50. data/lib/starter_web/_data/modules/justifiedGallery.yml +14 -8
  51. data/lib/starter_web/_data/modules/navigator_menu.yml +6 -3
  52. data/lib/starter_web/_data/modules/nbinteract.yml +12 -48
  53. data/lib/starter_web/_data/resources.yml +56 -0
  54. data/lib/starter_web/_includes/attributes.asciidoc +11 -0
  55. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  56. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
  57. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
  58. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
  59. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
  60. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
  61. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
  62. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
  63. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
  64. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
  65. data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
  66. data/lib/starter_web/assets/videos/gallery/nye-party-shop-poster.jpg +0 -0
  67. data/lib/starter_web/assets/videos/gallery/stay-colorful-poster.jpg +0 -0
  68. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -0
  69. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -0
  70. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -0
  71. data/lib/starter_web/package.json +1 -2
  72. data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +34 -20
  73. data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +154 -7
  74. data/lib/starter_web/pages/public/jupyter/docs/nbinteract-doc.adoc +24 -19
  75. data/lib/starter_web/pages/public/jupyter/examples/j1-circular-times-table.adoc +135 -0
  76. data/lib/starter_web/pages/public/jupyter/examples/j1-interactive-widgets.adoc +8 -5
  77. data/lib/starter_web/pages/public/jupyter/examples/j1-odes-in-python.adoc +15 -7
  78. data/lib/starter_web/pages/public/jupyter/examples/j1-testing-plotly.adoc +94 -0
  79. data/lib/starter_web/pages/public/jupyter/examples/j1_climate-change-forecast.adoc +8 -8
  80. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-checkpoint.ipynb +12387 -0
  81. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +1058 -0
  82. data/lib/starter_web/pages/public/jupyter/notebooks/j1/{j1_ode_selected.ipynb → .ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb} +1 -1
  83. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +26 -26
  84. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/{j1_altair_interactive_test-checkpoint.ipynb → j1_ode_selected-checkpoint.ipynb} +99 -318
  85. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +15227 -0
  86. data/lib/starter_web/pages/public/jupyter/notebooks/j1/factor_by_factor.mp4 +0 -0
  87. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_circular_times_table.ipynb +12387 -0
  88. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_climate_change_forecast.ipynb +2 -2
  89. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_docs_example_dynamic.ipynb +1 -1
  90. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +26 -26
  91. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_odes_in_python.ipynb +15227 -0
  92. data/lib/starter_web/pages/public/jupyter/notebooks/j1/line_by_line.mp4 +0 -0
  93. data/lib/starter_web/pages/public/jupyter/notebooks/j1/point_by_point.mp4 +0 -0
  94. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_central_limit_theorem-checkpoint.ipynb +247 -0
  95. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +323 -0
  96. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +387 -0
  97. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +384 -0
  98. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_interact-checkpoint.ipynb +254 -0
  99. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_monty_hall-checkpoint.ipynb +732 -0
  100. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_examples_central_limit_theorem.ipynb +1 -2
  101. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_recipes_graphing.ipynb +18 -18
  102. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_tutorial_monty_hall.ipynb +25 -26
  103. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +746 -0
  104. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +2 -2
  105. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
  106. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +3 -3
  107. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -0
  108. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_graphing.html +473 -473
  109. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +242 -242
  110. data/lib/starter_web/pages/public/jupyter/services/binderhub.adoc +3 -3
  111. data/lib/starter_web/pages/public/jupyter/services/jupyterhub.adoc +6 -7
  112. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  113. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +9 -15
  114. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
  115. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
  116. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
  117. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  118. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
  119. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +117 -12
  120. data/lib/starter_web/pages/public/se/se-fake.adoc +47 -0
  121. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  122. data/lib/starter_web/utilsrv/package.json +1 -1
  123. metadata +45 -22
  124. data/lib/starter_web/assets/videos/gallery/adriana-lima-poster.jpg +0 -0
  125. data/lib/starter_web/pages/public/jupyter/notebooks/binder/binder-launches.ipynb +0 -385
  126. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -6
  127. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/binder-launches-checkpoint.ipynb +0 -385
  128. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/google_altair-checkpoint.ipynb +0 -33
  129. data/lib/starter_web/pages/public/jupyter/notebooks/j1/binder-launches.ipynb +0 -411
  130. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/binder-launches.html +0 -670
  131. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_ode_selected.html +0 -186
  132. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/excel.py +0 -55
  133. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot.py +0 -108
  134. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot2.py +0 -108
  135. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/husky.py +0 -121
  136. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/latimes.py +0 -149
  137. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/pcolor.py +0 -6
  138. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/quartz.py +0 -55
  139. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_base.py +0 -94
  140. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_mono.py +0 -158
  141. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/sunsentinel.py +0 -125
@@ -0,0 +1,135 @@
1
+ ---
2
+ title: Times Tables
3
+ tagline: visualize patterns
4
+ date: 2022-03-28 00:00:00
5
+ description: >
6
+ The package nbinteract aims to enable authors and educators to create and
7
+ share interactive web pages easily. Interactive explanations of concepts are
8
+ useful for communicating and explaining tricky concepts.
9
+ keywords: >
10
+ opensource, free, load, download, start, starter, example,
11
+ high, easy, use, secure, encrypt, standard, popular,
12
+ generate, create, learn, distribute, publish, deploy,
13
+ beginner, advanced, expert, student, learner, writer, reader, visitor
14
+ framework, toolkit, integration, extension, module, api,
15
+ dynamic, static, generator, client, server, internet, local, localhost
16
+ page, web, website, webdesign, material, design, responsive,
17
+ javascript, nodejs, ruby, windows, linux, osx, mac, os,
18
+ http, https, html, html5, css, scss, style,
19
+ browser, firefox, chrome, edge, opera, safari,
20
+ configuration, generator, navigation, menu, dropdown, fab, action, button
21
+ application, interface, provider, api, repository,
22
+ cookie, language, translation, gdpr, dsgvo, privacy,
23
+ asciidoc, aciidoctor, bootstrap, jekyll, liquid,
24
+ hyvor, disqus, git, github, netlify, heroku, apple, microsoft,
25
+ provider, service, internet, support,
26
+ google, analytics, advertising, search, console, silverlight, score,
27
+ j1, template, jekyllone, comment,
28
+ python, jupyter, notebook, textbook, api, app, nbinteract,
29
+ nbi, integration, binder, binderhub, jupyterhub
30
+
31
+ categories: [ Software, Python ]
32
+ tags: [ Binder, Jupyter, Notebooks ]
33
+
34
+ scrollbar: false
35
+ fab_menu_id: open_toc_reload
36
+ personalization: true
37
+
38
+ permalink: /pages/public/jupyter/textbooks/j1-circular-times-table/
39
+ regenerate: false
40
+
41
+ resources: [ nbinteract, rouge ]
42
+ resource_options:
43
+ - attic:
44
+ padding_top: 400
45
+ padding_bottom: 50
46
+ opacity: 0.5
47
+ slides:
48
+ - url: /assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg
49
+ ---
50
+
51
+ // Page Initializer
52
+ // =============================================================================
53
+ // Enable the Liquid Preprocessor
54
+ :page-liquid:
55
+
56
+ // Set (local) page attributes here
57
+ // -----------------------------------------------------------------------------
58
+ // :page--attr: <attr-value>
59
+ :binder-badges-enabled: true
60
+ :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
61
+ :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?filepath=notebooks/j1/j1_circular_times_table.ipynb
62
+ :times-tables-visualization: https://elc.github.io/posts/times-tables/
63
+
64
+ // Load Liquid procedures
65
+ // -----------------------------------------------------------------------------
66
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
67
+
68
+ // Load page attributes
69
+ // -----------------------------------------------------------------------------
70
+ {% include {{load_attributes}} scope="global" %}
71
+
72
+
73
+ // Page content
74
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75
+ // image:/assets/images/badges/myBinder.png[Binder, link="https://mybinder.org/", {browser-window--new}]
76
+ // image:/assets/images/badges/docsBinder.png[Binder, link="https://mybinder.readthedocs.io/en/latest/", {browser-window--new}]
77
+ // See: https://towardsdatascience.com/ordinal-differential-equation-ode-in-python-8dc1de21323b
78
+
79
+ ifeval::[{binder-badges-enabled} == true]
80
+ image:/assets/images/badges/notebookBinder.png[Binder, link="{binder-app-launch--notebook}", {browser-window--new}]
81
+ image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
82
+ endif::[]
83
+
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.
87
+
88
+ First, let's introduce the video from _Mathologer_. This video creates very
89
+ nice patterns from _Times Tables_. Everybody knows them from primary school.
90
+ It's something like this:
91
+
92
+ .Table of *Two* (excerpt)
93
+ [cols="6a,6a", options="header", width="100%", role="rtable mt-3"]
94
+ |===
95
+ |Factor |Value
96
+
97
+ |`1 x 2`
98
+ |2
99
+
100
+ |`2 x 2`
101
+ |4
102
+
103
+ |`3 x 2`
104
+ |6
105
+
106
+ |`4 x 2`
107
+ |8
108
+
109
+ |===
110
+
111
+ The idea, in general, is surprisingly simple, but the results are surprising.
112
+ Please go for the video from _Mathologer_ first to catch the idea behind it.
113
+
114
+ In this document, several scenarios using _Times Tables_ as a base to
115
+ calculate plotted images are presented similar to the approach of
116
+ what _Mathologer_ is doing:
117
+
118
+ * a static but parametric version: you can change with sliders the values
119
+ and experiment by yourself.
120
+ * an animated version to construct the image Line by Line: the factor
121
+ and the number of points is fixed, but each line is plotted per iteration
122
+ * an animated version to construct the image Point by Point: the factor
123
+ and the lines are fixed, but each iteration increases the number of points
124
+ * an animated version to construct the image Factor by Factor: the lines
125
+ and the number of points is fixed, but the factor increases per iteration.
126
+
127
+ Start your journey on the power of Mathematics!
128
+
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.
133
+
134
+ // textbook::circular_times_table[]
135
+ textbook::j1_circular_times_table[]
@@ -60,11 +60,10 @@ resource_options:
60
60
 
61
61
  // Set (local) page attributes here
62
62
  // -----------------------------------------------------------------------------
63
- // :page--attr: <attr-value>
64
- :binder-badges-enabled: true
65
- :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/nbinteract-notebooks/main?urlpath=/tree
66
- :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/nbinteract-notebooks/main?filepath=notebooks/j1/j1_interactive.ipynb
67
-
63
+ // :page--attr: <attr-value>
64
+ :binder-badges-enabled: true
65
+ :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
66
+ :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?filepath=notebooks/j1/j1_interactive_widgets.ipynb
68
67
 
69
68
  // Load Liquid procedures
70
69
  // -----------------------------------------------------------------------------
@@ -87,6 +86,10 @@ image:/assets/images/badges/notebookBinder.png[Binder, link="{binder-app-launch-
87
86
  image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
88
87
  endif::[]
89
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
+
90
93
  Widgets are eventful python objects that have a representation in the browser,
91
94
  often as a control like a slider, textbox, etc. Widgets are used to build
92
95
  interactive GUIs for your notebooks, and to synchronize stateful and stateless
@@ -1,5 +1,5 @@
1
1
  ---
2
- title: ODEs in Python
2
+ title: ODEs with Python
3
3
  tagline: interactive evaluation
4
4
  date: 2022-03-28 00:00:00
5
5
  description: >
@@ -55,10 +55,11 @@ resource_options:
55
55
 
56
56
  // Set (local) page attributes here
57
57
  // -----------------------------------------------------------------------------
58
- // :page--attr: <attr-value>
59
- :binder-badges-enabled: true
60
- :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/nbinteract-notebooks/main?urlpath=/tree
61
- :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/nbinteract-notebooks/main?filepath=notebooks/j1/j1_odes_in_python.ipynb
58
+ // :page--attr: <attr-value>
59
+ :binder-badges-enabled: true
60
+ :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
61
+ :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?filepath=notebooks/j1/j1_odes_in_python.ipynb
62
+ :odes-in-python: https://elc.github.io/posts/ordinary-differential-equations-with-python/
62
63
 
63
64
  // Load Liquid procedures
64
65
  // -----------------------------------------------------------------------------
@@ -81,7 +82,11 @@ image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree
81
82
  endif::[]
82
83
 
83
84
 
84
- == ODEs in Python
85
+ // See: https://elc.github.io/posts/ordinary-differential-equations-with-python/
86
+
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.
85
90
 
86
91
  An ordinary differential equation (often abbreviated to ODE) is one
87
92
  Differential equation where only derivatives of the desired function
@@ -96,4 +101,7 @@ describing the dynamics of the population of rabbits and foxes. Check how
96
101
  the animals depend on each other. Manipulate some parameters to see the
97
102
  influences on the rabbits and foxes population.
98
103
 
99
- textbook::j1_ode_selected[]
104
+ NOTE: All examples are taken from
105
+ link:{odes-in-python}[Ordinary Differential Equations (ODE) with Python, {browser-window--new}]
106
+
107
+ textbook::j1_odes_in_python[]
@@ -0,0 +1,94 @@
1
+ ---
2
+ title: Testing Plotly
3
+ tagline: interactive evaluation
4
+ date: 2022-03-28 00:00:00
5
+ description: >
6
+ The package nbinteract aims to enable authors and educators to create and
7
+ share interactive web pages easily. Interactive explanations of concepts are
8
+ useful for communicating and explaining tricky concepts.
9
+ keywords: >
10
+ opensource, free, load, download, start, starter, example,
11
+ high, easy, use, secure, encrypt, standard, popular,
12
+ generate, create, learn, distribute, publish, deploy,
13
+ beginner, advanced, expert, student, learner, writer, reader, visitor
14
+ framework, toolkit, integration, extension, module, api,
15
+ dynamic, static, generator, client, server, internet, local, localhost
16
+ page, web, website, webdesign, material, design, responsive,
17
+ javascript, nodejs, ruby, windows, linux, osx, mac, os,
18
+ http, https, html, html5, css, scss, style,
19
+ browser, firefox, chrome, edge, opera, safari,
20
+ configuration, generator, navigation, menu, dropdown, fab, action, button
21
+ application, interface, provider, api, repository,
22
+ cookie, language, translation, gdpr, dsgvo, privacy,
23
+ asciidoc, aciidoctor, bootstrap, jekyll, liquid,
24
+ hyvor, disqus, git, github, netlify, heroku, apple, microsoft,
25
+ provider, service, internet, support,
26
+ google, analytics, advertising, search, console, silverlight, score,
27
+ j1, template, jekyllone, comment,
28
+ python, jupyter, notebook, textbook, api, app, nbinteract,
29
+ nbi, integration, binder, binderhub, jupyterhub
30
+
31
+ categories: [ Software, Python ]
32
+ tags: [ Binder, Jupyter, Notebooks ]
33
+
34
+ scrollbar: false
35
+ fab_menu_id: open_toc_reload
36
+ personalization: true
37
+
38
+ permalink: /pages/public/jupyter/textbooks/j1-testing-plotly/
39
+ regenerate: true
40
+
41
+ resources: [ nbinteract, require, rouge ]
42
+ resource_options:
43
+ - attic:
44
+ padding_top: 400
45
+ padding_bottom: 50
46
+ opacity: 0.5
47
+ slides:
48
+ - url: /assets/images/modules/attics/runner-1920x1200.jpg
49
+ ---
50
+
51
+ // Page Initializer
52
+ // =============================================================================
53
+ // Enable the Liquid Preprocessor
54
+ :page-liquid:
55
+
56
+ // Set (local) page attributes here
57
+ // -----------------------------------------------------------------------------
58
+ // :page--attr: <attr-value>
59
+ :binder-badges-enabled: true
60
+ :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
61
+ :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?filepath=notebooks/j1/j1_odes_in_python.ipynb
62
+
63
+ // Load Liquid procedures
64
+ // -----------------------------------------------------------------------------
65
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
66
+
67
+ // Load page attributes
68
+ // -----------------------------------------------------------------------------
69
+ {% include {{load_attributes}} scope="global" %}
70
+
71
+
72
+ // Page content
73
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
74
+ // image:/assets/images/badges/myBinder.png[Binder, link="https://mybinder.org/", {browser-window--new}]
75
+ // image:/assets/images/badges/docsBinder.png[Binder, link="https://mybinder.readthedocs.io/en/latest/", {browser-window--new}]
76
+ // See: https://towardsdatascience.com/ordinal-differential-equation-ode-in-python-8dc1de21323b
77
+
78
+ ifeval::[{binder-badges-enabled} == true]
79
+ image:/assets/images/badges/notebookBinder.png[Binder, link="{binder-app-launch--notebook}", {browser-window--new}]
80
+ image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
81
+ endif::[]
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.
86
+
87
+ == Plotly
88
+
89
+ lorem:sentences[5]
90
+
91
+ lorem:sentences[3]
92
+
93
+
94
+ textbook::j1_testing_plotly[]
@@ -56,10 +56,10 @@ resource_options:
56
56
 
57
57
  // Set (local) page attributes here
58
58
  // -----------------------------------------------------------------------------
59
- // :page--attr: <attr-value>
60
- :binder-badges-enabled: true
61
- :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/nbinteract-notebooks/main?urlpath=/tree
62
- :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/nbinteract-notebooks/main?filepath=notebooks/j1/j1_climate_change_forecast.ipynb
59
+ // :page--attr: <attr-value>
60
+ :binder-badges-enabled: true
61
+ :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
62
+ :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?filepath=notebooks/j1/j1_climate_change_forecast.ipynb
63
63
 
64
64
  // Load Liquid procedures
65
65
  // -----------------------------------------------------------------------------
@@ -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