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
@@ -4,8 +4,7 @@
4
4
  "cell_type": "markdown",
5
5
  "metadata": {},
6
6
  "source": [
7
- "### Interactive Questions",
8
- "\n",
7
+ "### Interactive Questions\n",
9
8
  "nbinteract also provides built-in methods to easily create multiple choice and short answer questions."
10
9
  ]
11
10
  },
@@ -29,18 +28,18 @@
29
28
  },
30
29
  {
31
30
  "cell_type": "code",
32
- "execution_count": 2,
31
+ "execution_count": 7,
33
32
  "metadata": {},
34
33
  "outputs": [
35
34
  {
36
35
  "data": {
37
36
  "application/vnd.jupyter.widget-view+json": {
38
- "model_id": "de2dd3509e344b108adf6ef9df75e24f",
37
+ "model_id": "5e2cf7e8eff64a6aaf9dfcad8cfa63eb",
39
38
  "version_major": 2,
40
39
  "version_minor": 0
41
40
  },
42
41
  "text/plain": [
43
- "A Jupyter Widget"
42
+ "VBox(children=(HTML(value='<p style=\"line-height:18px;\">What is 10 + 2 * 5?</p>'), HBox(children=(Button(layou…"
44
43
  ]
45
44
  },
46
45
  "metadata": {},
@@ -55,18 +54,18 @@
55
54
  },
56
55
  {
57
56
  "cell_type": "code",
58
- "execution_count": 3,
57
+ "execution_count": 8,
59
58
  "metadata": {},
60
59
  "outputs": [
61
60
  {
62
61
  "data": {
63
62
  "application/vnd.jupyter.widget-view+json": {
64
- "model_id": "7c10638768f141068a8f3187c8090f45",
63
+ "model_id": "29e1ab27776a49b0b832c241d449c92a",
65
64
  "version_major": 2,
66
65
  "version_minor": 0
67
66
  },
68
67
  "text/plain": [
69
- "A Jupyter Widget"
68
+ "VBox(children=(HTML(value='<p style=\"line-height:18px;\">Select all prime numbers.</p>'), HBox(children=(Button…"
70
69
  ]
71
70
  },
72
71
  "metadata": {},
@@ -85,25 +84,23 @@
85
84
  "source": [
86
85
  "#### nbinteract.short_answer\n",
87
86
  "\n",
88
- "`nbinteract.short_answer` takes a question and an answer.\n",
89
- "\n",
90
- "The answer can either be a string, a list of strings, or a function that returns `True` when called with the user's input. If the function errors, an error message will be displayed."
87
+ "`nbinteract.short_answer` takes a question and an answer. The answer can either be a string, a list of strings, or a function that returns `True` when called with the user's input. If the function errors, an error message will be displayed."
91
88
  ]
92
89
  },
93
90
  {
94
91
  "cell_type": "code",
95
- "execution_count": 6,
92
+ "execution_count": 9,
96
93
  "metadata": {},
97
94
  "outputs": [
98
95
  {
99
96
  "data": {
100
97
  "application/vnd.jupyter.widget-view+json": {
101
- "model_id": "0f1c42124c694e838394799369ad7b76",
98
+ "model_id": "e30f724e97bf4d5fac072777e3fe1d45",
102
99
  "version_major": 2,
103
100
  "version_minor": 0
104
101
  },
105
102
  "text/plain": [
106
- "A Jupyter Widget"
103
+ "VBox(children=(HTML(value='<p style=\"line-height:18px;\">What is 1+1?</p>'), HBox(children=(Text(value='', plac…"
107
104
  ]
108
105
  },
109
106
  "metadata": {},
@@ -116,18 +113,18 @@
116
113
  },
117
114
  {
118
115
  "cell_type": "code",
119
- "execution_count": 7,
116
+ "execution_count": 10,
120
117
  "metadata": {},
121
118
  "outputs": [
122
119
  {
123
120
  "data": {
124
121
  "application/vnd.jupyter.widget-view+json": {
125
- "model_id": "fda85ec395ec41af999776ba2a5b39b6",
122
+ "model_id": "c171c255bbb74f289fe3211f41430ab6",
126
123
  "version_major": 2,
127
124
  "version_minor": 0
128
125
  },
129
126
  "text/plain": [
130
- "A Jupyter Widget"
127
+ "VBox(children=(HTML(value='<p style=\"line-height:18px;\">Enter the first name of a member of the Beatles.</p>')…"
131
128
  ]
132
129
  },
133
130
  "metadata": {},
@@ -141,18 +138,18 @@
141
138
  },
142
139
  {
143
140
  "cell_type": "code",
144
- "execution_count": 5,
141
+ "execution_count": 6,
145
142
  "metadata": {},
146
143
  "outputs": [
147
144
  {
148
145
  "data": {
149
146
  "application/vnd.jupyter.widget-view+json": {
150
- "model_id": "529c41f0bff549dc9683b7a17d1c0e65",
147
+ "model_id": "84b47630b6bf4e8f9f318d8502e161f3",
151
148
  "version_major": 2,
152
149
  "version_minor": 0
153
150
  },
154
151
  "text/plain": [
155
- "A Jupyter Widget"
152
+ "VBox(children=(HTML(value='<p style=\"line-height:18px;\">Enter an even number.</p>'), HBox(children=(Text(value…"
156
153
  ]
157
154
  },
158
155
  "metadata": {},
@@ -166,7 +163,7 @@
166
163
  ],
167
164
  "metadata": {
168
165
  "kernelspec": {
169
- "display_name": "Python [default]",
166
+ "display_name": "Python 3",
170
167
  "language": "python",
171
168
  "name": "python3"
172
169
  },
@@ -180,7 +177,7 @@
180
177
  "name": "python",
181
178
  "nbconvert_exporter": "python",
182
179
  "pygments_lexer": "ipython3",
183
- "version": "3.5.2"
180
+ "version": "3.7.9"
184
181
  }
185
182
  },
186
183
  "nbformat": 4,
@@ -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."