j1-template 2022.2.2 → 2022.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/footer/boxes/contacts_box.proc +46 -18
  3. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +1 -0
  4. data/assets/data/fab.html +2 -2
  5. data/assets/data/footer.html +2 -2
  6. data/assets/themes/j1/adapter/js/analytics.js +13 -13
  7. data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
  8. data/assets/themes/j1/adapter/js/nbinteract.js +366 -120
  9. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +30 -40
  10. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  11. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +85 -216
  12. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
  13. data/assets/themes/j1/core/js/template.js +1 -1
  14. data/assets/themes/j1/core/js/template.min.js +1 -1
  15. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  16. data/assets/themes/j1/modules/carousel/css/theme/uno.css +5 -0
  17. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  18. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +1 -0
  19. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.css +6 -0
  20. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.min.css +1 -1
  21. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.css +2 -2
  22. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +1 -2
  23. data/assets/themes/j1/modules/nbInteract/README.md +169 -0
  24. data/assets/themes/j1/modules/nbInteract/css/nbinteract-core.css +4 -0
  25. data/assets/themes/j1/modules/nbInteract/css/nbinteract-core.min.css +4 -0
  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/requireJS/require.js +2068 -0
  29. data/assets/themes/j1/modules/nbInteract/js/requireJS/require.min.js +36 -0
  30. data/assets/themes/j1/modules/plotly/LICENSE +21 -0
  31. data/assets/themes/j1/modules/plotly/README.md +32 -0
  32. data/assets/themes/j1/modules/plotly/js/plotly.js +265345 -0
  33. data/assets/themes/j1/modules/plotly/js/plotly.min.js +65 -0
  34. data/assets/themes/j1/modules/requirejs/LICENSE +45 -0
  35. data/assets/themes/j1/modules/requirejs/README.md +79 -0
  36. data/assets/themes/j1/modules/requirejs/js/require.js +2068 -0
  37. data/assets/themes/j1/modules/requirejs/js/require.min.js +36 -0
  38. data/lib/j1/version.rb +1 -1
  39. data/lib/starter_web/Gemfile +1 -1
  40. data/lib/starter_web/_config.yml +1 -1
  41. data/lib/starter_web/_data/blocks/defaults/footer.yml +25 -17
  42. data/lib/starter_web/_data/blocks/footer.yml +78 -65
  43. data/lib/starter_web/_data/modules/analytics.yml +8 -23
  44. data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -1
  45. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +4 -1
  46. data/lib/starter_web/_data/modules/justifiedGallery.yml +14 -8
  47. data/lib/starter_web/_data/modules/navigator_menu.yml +6 -3
  48. data/lib/starter_web/_data/modules/nbinteract.yml +12 -48
  49. data/lib/starter_web/_data/resources.yml +52 -18
  50. data/lib/starter_web/_includes/attributes.asciidoc +25 -0
  51. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  52. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
  53. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
  54. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
  55. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
  56. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
  57. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
  58. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
  59. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
  60. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
  61. data/lib/starter_web/assets/images/pages/nbinteract/nbi-textbook-example.jpg +0 -0
  62. data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
  63. data/lib/starter_web/assets/videos/gallery/nye-party-shop-poster.jpg +0 -0
  64. data/lib/starter_web/assets/videos/gallery/stay-colorful-poster.jpg +0 -0
  65. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -0
  66. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -0
  67. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -0
  68. data/lib/starter_web/package.json +1 -2
  69. data/lib/starter_web/pages/public/jupyter/docs/_includes/documents/j1_docs_example_static.asciidoc +232 -232
  70. data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +165 -149
  71. data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +156 -11
  72. data/lib/starter_web/pages/public/jupyter/docs/nbinteract-doc.adoc +11 -6
  73. data/lib/starter_web/pages/public/jupyter/examples/j1-circular-times-table.adoc +136 -0
  74. data/lib/starter_web/pages/public/jupyter/examples/j1-interactive-widgets.adoc +9 -5
  75. data/lib/starter_web/pages/public/jupyter/examples/j1-odes-in-python.adoc +16 -7
  76. data/lib/starter_web/pages/public/jupyter/examples/j1-testing-plotly.adoc +95 -0
  77. data/lib/starter_web/pages/public/jupyter/examples/j1_climate-change-forecast.adoc +4 -4
  78. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/{algebra_with_sympy-checkpoint.ipynb → j1_circular_times_table-checkpoint.ipynb} +5190 -7291
  79. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +2 -2
  80. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb +1 -1
  81. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +170 -15
  82. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_ode_selected-checkpoint.ipynb +1 -1
  83. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +520 -111
  84. data/lib/starter_web/pages/public/jupyter/notebooks/j1/factor_by_factor.mp4 +0 -0
  85. data/lib/starter_web/pages/public/jupyter/notebooks/j1/{.ipynb_checkpoints/j1_algebra_with_sympy-checkpoint.ipynb → j1_circular_times_table.ipynb} +5178 -7308
  86. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_climate_change_forecast.ipynb +2 -2
  87. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_docs_example_dynamic.ipynb +1 -1
  88. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +170 -15
  89. data/lib/starter_web/pages/public/jupyter/notebooks/j1/{j1_ode_selected.ipynb → j1_odes_in_python.ipynb} +783 -34
  90. data/lib/starter_web/pages/public/jupyter/notebooks/j1/line_by_line.mp4 +0 -0
  91. data/lib/starter_web/pages/public/jupyter/notebooks/j1/point_by_point.mp4 +0 -0
  92. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_interactive_questions-checkpoint.ipynb +185 -0
  93. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_interact-checkpoint.ipynb +254 -0
  94. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_monty_hall-checkpoint.ipynb +732 -0
  95. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_recipes_interactive_questions.ipynb +19 -22
  96. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_tutorial_monty_hall.ipynb +25 -26
  97. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +746 -0
  98. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +2 -2
  99. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +217 -0
  100. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -0
  101. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +1 -2
  102. data/lib/starter_web/pages/public/jupyter/{apis/binderhub-api.adoc → services/binderhub.adoc} +25 -28
  103. data/lib/starter_web/pages/public/jupyter/{apis/jupyterhub-api.adoc → services/jupyterhub.adoc} +8 -9
  104. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  105. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +9 -15
  106. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
  107. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +12 -1
  108. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
  109. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  110. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
  111. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +117 -12
  112. data/lib/starter_web/pages/public/se/se-fake.adoc +47 -0
  113. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  114. data/lib/starter_web/utilsrv/package.json +1 -1
  115. metadata +41 -41
  116. data/lib/starter_web/_data/_resources.yml +0 -1668
  117. data/lib/starter_web/assets/images/pages/nbinteract/binderhub-architecture.png +0 -0
  118. data/lib/starter_web/assets/videos/gallery/adriana-lima-poster.jpg +0 -0
  119. data/lib/starter_web/pages/public/jupyter/notebooks/binder/binder-launches.ipynb +0 -385
  120. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -6
  121. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/binder-launches-checkpoint.ipynb +0 -385
  122. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/climate-change-forecast-checkpoint.ipynb +0 -916
  123. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/google_altair-checkpoint.ipynb +0 -33
  124. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/ipympl_test_plots-checkpoint.ipynb +0 -14517
  125. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +0 -16493
  126. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_interactive_test-checkpoint.ipynb +0 -14697
  127. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_visualization-checkpoint.ipynb +0 -15358
  128. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_visualization_full-checkpoint.ipynb +0 -2576
  129. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast.ipynb +0 -1060
  130. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_hist-checkpoint.ipynb +0 -98
  131. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive-checkpoint.ipynb +0 -560
  132. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_ipympl_test_plots-checkpoint.ipynb +0 -14511
  133. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_pandas_creating_reading_and_writing-checkpoint.ipynb +0 -328
  134. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_recipes_layout-checkpoint.ipynb +0 -341
  135. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +0 -98
  136. data/lib/starter_web/pages/public/jupyter/notebooks/j1/binder-launches.ipynb +0 -411
  137. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_correlation-checkpoint.ipynb +0 -651
  138. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/binder-launches.html +0 -546
  139. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_ode_selected.html +0 -186
  140. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/excel.py +0 -55
  141. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot.py +0 -108
  142. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot2.py +0 -108
  143. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/husky.py +0 -121
  144. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/latimes.py +0 -149
  145. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/pcolor.py +0 -6
  146. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/quartz.py +0 -55
  147. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_base.py +0 -94
  148. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_mono.py +0 -158
  149. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/sunsentinel.py +0 -125
@@ -0,0 +1,136 @@
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
+ NOTE: All examples are taken from
85
+ link:{times-tables-visualization}[Times Tables Visualization - Finding Patterns, {browser-window--new}],
86
+ and re-written for the use of module J1 NBI. Some text is used from the
87
+ original post but re-written for clarity and simplicity.
88
+
89
+ First, let's introduce the video from _Mathologer_. This video creates very
90
+ nice patterns from _Times Tables_. Everybody knows them from primary school.
91
+ It's something like this:
92
+
93
+ .Table of *Two* (excerpt)
94
+ [cols="6a,6a", options="header", width="100%", role="rtable mt-3"]
95
+ |===
96
+ |Factor |Value
97
+
98
+ |`1 x 2`
99
+ |2
100
+
101
+ |`2 x 2`
102
+ |4
103
+
104
+ |`3 x 2`
105
+ |6
106
+
107
+ |`4 x 2`
108
+ |8
109
+
110
+ |===
111
+
112
+ The idea, in general, is surprisingly simple, but the results are surprising.
113
+ Please go for the video from _Mathologer_ first to catch the idea behind it.
114
+
115
+ In this document, several scenarios using _Times Tables_ as a base to
116
+ calculate plotted images are presented similar to the approach of
117
+ what _Mathologer_ is doing:
118
+
119
+ * a static but parametric version: you can change with sliders the values
120
+ and experiment by yourself.
121
+ * an animated version to construct the image Line by Line: the factor
122
+ and the number of points is fixed, but each line is plotted per iteration
123
+ * an animated version to construct the image Point by Point: the factor
124
+ and the lines are fixed, but each iteration increases the number of points
125
+ * an animated version to construct the image Factor by Factor: the lines
126
+ and the number of points is fixed, but the factor increases per iteration.
127
+
128
+ Start your journey on the power of Mathematics!
129
+
130
+ CAUTION: Each interactive element presented on this page uses *time-consuming*
131
+ operations that take a while to finish. The images and the interactive
132
+ elements are built through a backend in the cloud. Please be patient
133
+ to see the results.
134
+
135
+ // textbook::circular_times_table[]
136
+ 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
  // -----------------------------------------------------------------------------
@@ -98,4 +97,9 @@ the most used. Interactive widgets are provided natively by Jupyter Notebooks
98
97
  using the library `ipywidgets`. Some more widgets are provided by `nbinteract`.
99
98
  Find common examples in the textbooks below.
100
99
 
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
+
101
105
  textbook::j1_interactive_widgets[]
@@ -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,10 @@ 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
+ NOTE: All examples are taken from
88
+ link:{odes-in-python}[Ordinary Differential Equations (ODE) with Python, {browser-window--new}]
85
89
 
86
90
  An ordinary differential equation (often abbreviated to ODE) is one
87
91
  Differential equation where only derivatives of the desired function
@@ -96,4 +100,9 @@ describing the dynamics of the population of rabbits and foxes. Check how
96
100
  the animals depend on each other. Manipulate some parameters to see the
97
101
  influences on the rabbits and foxes population.
98
102
 
99
- textbook::j1_ode_selected[]
103
+ CAUTION: Each interactive element presented on this page uses *time-consuming*
104
+ operations that take a while to finish. The images and the interactive
105
+ elements are built through a backend in the cloud. Please be patient
106
+ to see the results.
107
+
108
+ textbook::j1_odes_in_python[]
@@ -0,0 +1,95 @@
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
+
84
+ == Plotly
85
+
86
+ lorem:sentences[5]
87
+
88
+ lorem:sentences[3]
89
+
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
+
95
+ 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
  // -----------------------------------------------------------------------------