j1-template 2022.5.0.rc1 → 2022.5.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/banner.html +24 -1
  3. data/assets/themes/j1/adapter/js/masterslider.js +22 -5
  4. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +56 -0
  5. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  6. data/lib/j1/version.rb +1 -1
  7. data/lib/starter_web/Gemfile +270 -270
  8. data/lib/starter_web/_config.yml +19 -9
  9. data/lib/starter_web/_data/blocks/banner.yml +17 -0
  10. data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
  11. data/lib/starter_web/_data/modules/justifiedGallery.yml +82 -0
  12. data/lib/starter_web/_data/modules/masterslider.yml +5 -9
  13. data/lib/starter_web/_data/modules/navigator_menu.yml +208 -168
  14. data/lib/starter_web/_includes/attributes.asciidoc +18 -14
  15. data/lib/starter_web/_includes/tables/template_variables.asciidoc +1 -1
  16. data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +4 -4
  17. data/lib/starter_web/assets/images/pages/features/blog-post-navigator-1280x1000.jpg +0 -0
  18. data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.png +0 -0
  19. data/lib/starter_web/assets/images/pages/features/clipboard-1280x600.jpg +0 -0
  20. data/lib/starter_web/assets/images/pages/features/comments-1280x600.jpg +0 -0
  21. data/lib/starter_web/assets/images/pages/features/cookie-consent-1280x800.jpg +0 -0
  22. data/lib/starter_web/assets/images/pages/features/desktop-web-navigation-1280x1000.jpg +0 -0
  23. data/lib/starter_web/assets/images/pages/features/example-content-1280x800.jpg +0 -0
  24. data/lib/starter_web/assets/images/pages/features/example-content-present-videos-1280x800.jpg +0 -0
  25. data/lib/starter_web/assets/images/pages/features/fab-1280x500.jpg +0 -0
  26. data/lib/starter_web/assets/images/pages/features/full-text-search-1280x800.jpg +0 -0
  27. data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.png +0 -0
  28. data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.png +0 -0
  29. data/lib/starter_web/assets/images/pages/features/intro-panel-1280x800.jpg +0 -0
  30. data/lib/starter_web/assets/images/pages/features/master-header-1280x600.jpg +0 -0
  31. data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.png +0 -0
  32. data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.png +0 -0
  33. data/lib/starter_web/assets/images/pages/features/nav-module-1280x300.jpg +0 -0
  34. data/lib/starter_web/assets/images/pages/features/nbi-barchart-1280x800.jpg +0 -0
  35. data/lib/starter_web/assets/images/pages/features/teaser-banner-1280x600.jpg +0 -0
  36. data/lib/starter_web/assets/images/pages/features/translator-1280x800.jpg +0 -0
  37. data/lib/starter_web/assets/images/sticker/600x600/sticker-new-version.png +0 -0
  38. data/lib/starter_web/assets/images/sticker/scalable/readme +0 -0
  39. data/lib/starter_web/package.json +6 -6
  40. data/lib/starter_web/pages/public/_jupyter/docs/_includes/attributes.asciidoc +67 -0
  41. data/lib/starter_web/pages/public/_jupyter/docs/_includes/documents/j1_docs_example_static.asciidoc +232 -0
  42. data/lib/starter_web/pages/public/_jupyter/docs/binderhub.adoc +631 -0
  43. data/lib/starter_web/pages/public/_jupyter/docs/j1-nbinteract.adoc +638 -0
  44. data/lib/starter_web/pages/public/_jupyter/docs/jupyterhub.adoc +248 -0
  45. data/lib/starter_web/pages/public/_jupyter/docs/nbinteract-widget-manual.adoc +928 -0
  46. data/lib/starter_web/pages/public/_jupyter/examples/distributed/j1-circular-times-table.adoc +139 -0
  47. data/lib/starter_web/pages/public/_jupyter/examples/distributed/j1-common-used-widgets.adoc +229 -0
  48. data/lib/starter_web/pages/public/_jupyter/examples/distributed/j1-odes-in-python.adoc +112 -0
  49. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-altair/j1-altair-visualisations.adoc +142 -0
  50. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-bokeh/j1-bokeh-visualisations.adoc +171 -0
  51. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-bokeh/j1-bqplot-eamples.adoc +111 -0
  52. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-plotly/j1-plotly-visualisations.adoc +94 -0
  53. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1_climate-change-forecast.adoc +106 -0
  54. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +16260 -0
  55. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_bgplot_line_plot-checkpoint.ipynb +247 -0
  56. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-Copy1-checkpoint.ipynb +12382 -0
  57. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-checkpoint.ipynb +12387 -0
  58. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-short-checkpoint.ipynb +12170 -0
  59. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +1058 -0
  60. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb +14478 -0
  61. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-Copy1-checkpoint.ipynb +379 -0
  62. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +442 -0
  63. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets-checkpoint.ipynb +523 -0
  64. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets.line_charts-checkpoint.ipynb +84 -0
  65. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets.questions-checkpoint.ipynb +194 -0
  66. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_chart-checkpoint.ipynb +89 -0
  67. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_charts-Copy1-checkpoint.ipynb +164 -0
  68. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_charts-checkpoint.ipynb +173 -0
  69. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_charts.1-checkpoint.ipynb +256 -0
  70. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_barcharts-checkpoint.ipynb +126 -0
  71. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_hist_chart-checkpoint.ipynb +87 -0
  72. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_line_chart-checkpoint.ipynb +90 -0
  73. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_line_charts-checkpoint.ipynb +87 -0
  74. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_question_multiple_choice-checkpoint.ipynb +64 -0
  75. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_question_short_answer-checkpoint.ipynb +122 -0
  76. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_questions-checkpoint.ipynb +181 -0
  77. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_scatter_chart-checkpoint.ipynb +89 -0
  78. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_scatter_charts-checkpoint.ipynb +175 -0
  79. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_scatter_drag_chart-checkpoint.ipynb +87 -0
  80. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_ode_selected-checkpoint.ipynb +14478 -0
  81. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +15227 -0
  82. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/factor_by_factor.mp4 +0 -0
  83. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_circular_times_table.ipynb +12382 -0
  84. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_climate_change_forecast.ipynb +1058 -0
  85. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_docs_example_dynamic.ipynb +14478 -0
  86. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_interactive_widgets.ipynb +442 -0
  87. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets.ipynb +523 -0
  88. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_bar_chart.ipynb +89 -0
  89. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_hist_chart.ipynb +87 -0
  90. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_line_chart.ipynb +90 -0
  91. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_question_multiple_choice.ipynb +64 -0
  92. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_question_short_answer.ipynb +122 -0
  93. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_scatter_chart.ipynb +89 -0
  94. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_scatter_drag_chart.ipynb +87 -0
  95. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_odes_in_python.ipynb +15227 -0
  96. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/line_by_line.mp4 +0 -0
  97. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/point_by_point.mp4 +0 -0
  98. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +16296 -0
  99. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/.ipynb_checkpoints/j1_altair_non_interactive-checkpoint.ipynb +15385 -0
  100. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/j1_altair_interactive.ipynb +16296 -0
  101. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/j1_altair_non_interactive.ipynb +15385 -0
  102. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/00 - Introduction and Setup-checkpoint.ipynb +717 -0
  103. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/01 - Basic Plotting-checkpoint.ipynb +1381 -0
  104. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/02 - Styling and Theming-checkpoint.ipynb +1440 -0
  105. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/03 - Data Sources and Transformations-checkpoint.ipynb +927 -0
  106. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/04 - Adding Annotations-checkpoint.ipynb +1105 -0
  107. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/05 - Presentation Layouts-checkpoint.ipynb +578 -0
  108. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/06 - Linking and Interactions-checkpoint.ipynb +1196 -0
  109. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/07 - Bar and Categorical Data Plots-checkpoint.ipynb +1681 -0
  110. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/08 - Graph and Network Plots-checkpoint.ipynb +680 -0
  111. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/09 - Geographic Plots-checkpoint.ipynb +693 -0
  112. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/10 - Exporting and Embedding-checkpoint.ipynb +751 -0
  113. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/11 - Running Bokeh Applications-checkpoint.ipynb +770 -0
  114. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/bokeh_tut_00_introduction_and_setup-checkpoint.ipynb +666 -0
  115. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_01_basic_plotting-checkpoint.ipynb +1365 -0
  116. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_02_styling_and_theming-checkpoint.ipynb +1405 -0
  117. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_03_data_sources_and_transformations-checkpoint.ipynb +856 -0
  118. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_04_adding_annotations-checkpoint.ipynb +1167 -0
  119. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_05_presentation_layouts-checkpoint.ipynb +601 -0
  120. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_06_linking_and_interactions-checkpoint.ipynb +1356 -0
  121. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_07_bar_and_categorical_data_plots-checkpoint.ipynb +1742 -0
  122. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_08_graph_and_network_plots-checkpoint.ipynb +625 -0
  123. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_09_geographic_plots-checkpoint.ipynb +685 -0
  124. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_10_exporting_and_embedding-checkpoint.ipynb +726 -0
  125. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_10_exporting_and_embedding-checkpoint.org +726 -0
  126. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_10_exporting_and_embedding.new-checkpoint.ipynb +560 -0
  127. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_11_running_bokeh_applications-checkpoint.ipynb +716 -0
  128. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_01_basic_plotting.ipynb +1365 -0
  129. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_02_styling_and_theming.ipynb +1405 -0
  130. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_03_data_sources_and_transformations.ipynb +856 -0
  131. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_04_adding_annotations.ipynb +1167 -0
  132. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_05_presentation_layouts.ipynb +601 -0
  133. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_06_linking_and_interactions.ipynb +1356 -0
  134. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_07_bar_and_categorical_data_plots.ipynb +1742 -0
  135. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_08_graph_and_network_plots.ipynb +625 -0
  136. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_09_geographic_plots.ipynb +685 -0
  137. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/.ipynb_checkpoints/j1_mathplot_vs_bqplot-checkpoint.ipynb +336 -0
  138. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/advanced/Feature_Vector_Distribution-Iris-Digits.ipynb +433 -0
  139. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/j1_bgplot_line_plot.ipynb +244 -0
  140. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/j1_circular_times_table-short.ipynb +12170 -0
  141. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/j1_mathplot_vs_bqplot.ipynb +336 -0
  142. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/.ipynb_checkpoints/Index-checkpoint.ipynb +163 -0
  143. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/.ipynb_checkpoints/Tutorials-checkpoint.ipynb +51 -0
  144. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Advanced Plotting.ipynb +289 -0
  145. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Animations.ipynb +266 -0
  146. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Axis Properties.ipynb +396 -0
  147. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Plotting Dates.ipynb +318 -0
  148. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Equity Index Performance/Time Series.ipynb +158 -0
  149. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Equity Index Performance/spx_prices.csv +6799 -0
  150. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Feature_Vector_Distribution-Iris-Digits.ipynb +470 -0
  151. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Index.ipynb +49 -0
  152. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Logs Analytics/Logs Dashboard.ipynb +378 -0
  153. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Mobile Patent Suits.ipynb +123 -0
  154. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Neural Network.ipynb +177 -0
  155. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Outlier Detection.ipynb +311 -0
  156. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/Bubble Chart.ipynb +255 -0
  157. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/Choropleth.ipynb +275 -0
  158. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/nations.json +1 -0
  159. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/world_map_codes.csv +234 -0
  160. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/.ipynb_checkpoints/Basic Plotting-checkpoint.ipynb +186 -0
  161. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/.ipynb_checkpoints/Pyplot-checkpoint.ipynb +794 -0
  162. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/.ipynb_checkpoints/Untitled-checkpoint.ipynb +323 -0
  163. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/Basic Plotting.ipynb +261 -0
  164. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/Pyplot.ipynb +1489 -0
  165. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Index.ipynb +163 -0
  166. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Interactions/Interaction Layer.ipynb +966 -0
  167. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Interactions/Mark Interactions.ipynb +476 -0
  168. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Interactions/Selectors.ipynb +427 -0
  169. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Introduction.ipynb +528 -0
  170. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Bars.ipynb +480 -0
  171. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Bins.ipynb +217 -0
  172. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Boxplot.ipynb +253 -0
  173. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Candles.ipynb +225 -0
  174. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/FlexLine.ipynb +123 -0
  175. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Graph.ipynb +357 -0
  176. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/GridHeatMap.ipynb +422 -0
  177. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/HeatMap.ipynb +157 -0
  178. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Hist.ipynb +176 -0
  179. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Image.ipynb +195 -0
  180. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Label.ipynb +189 -0
  181. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Lines.ipynb +565 -0
  182. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Map.ipynb +182 -0
  183. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Market Map.ipynb +315 -0
  184. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Pie.ipynb +465 -0
  185. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Scatter.ipynb +835 -0
  186. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Bars.ipynb +362 -0
  187. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Bins.ipynb +252 -0
  188. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Boxplot.ipynb +273 -0
  189. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Candles.ipynb +242 -0
  190. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/GridHeatMap.ipynb +417 -0
  191. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/HeatMap.ipynb +155 -0
  192. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Hist.ipynb +238 -0
  193. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Image.ipynb +152 -0
  194. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Label.ipynb +206 -0
  195. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Lines.ipynb +474 -0
  196. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Map.ipynb +181 -0
  197. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Pie.ipynb +310 -0
  198. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Scatter.ipynb +702 -0
  199. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Scales/Color Scales.ipynb +495 -0
  200. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Feature_Vector_Distribution-Iris-Digits-checkpoint.ipynb +433 -0
  201. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Linking Plots With Widgets-checkpoint.ipynb +326 -0
  202. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Updating Plots-Copy1-checkpoint.ipynb +177 -0
  203. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Updating Plots-checkpoint.ipynb +177 -0
  204. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Brush Interval Selector.ipynb +154 -0
  205. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Fast Interval Selector.ipynb +152 -0
  206. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Gaussian Density Widget.ipynb +128 -0
  207. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Gaussian Density.ipynb +113 -0
  208. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Linking Plots With Widgets.ipynb +326 -0
  209. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Object Model.ipynb +179 -0
  210. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Pyplot.ipynb +174 -0
  211. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Updating Plots.ipynb +177 -0
  212. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials.ipynb +51 -0
  213. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/country_codes.csv +213 -0
  214. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/gdp_per_capita.csv +56 -0
  215. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/state_codes.csv +52 -0
  216. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/trees.jpg +0 -0
  217. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_central_limit_theorem-checkpoint.ipynb +247 -0
  218. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +323 -0
  219. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +387 -0
  220. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_interactive_questions-checkpoint.ipynb +185 -0
  221. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +384 -0
  222. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_interact-checkpoint.ipynb +254 -0
  223. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_monty_hall-checkpoint.ipynb +732 -0
  224. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_central_limit_theorem.ipynb +247 -0
  225. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_correlation.ipynb +651 -0
  226. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_empirical_distributions.ipynb +773 -0
  227. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_linear_regression.ipynb +111 -0
  228. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_probability_distribution_plots.ipynb +199 -0
  229. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_sampling_from_a_population.ipynb +421 -0
  230. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_variability_of_the_sample_mean.ipynb +323 -0
  231. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_recipes_graphing.ipynb +387 -0
  232. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_recipes_interactive_questions.ipynb +185 -0
  233. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_recipes_layout.ipynb +384 -0
  234. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_tutorial_interact.ipynb +254 -0
  235. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_tutorial_monty_hall.ipynb +732 -0
  236. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Advanced Plotting.html +373 -0
  237. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Animations.html +361 -0
  238. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Axis Properties.html +569 -0
  239. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Bars.html +487 -0
  240. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Basic Plotting.html +341 -0
  241. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Bins.html +259 -0
  242. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Boxplot.html +277 -0
  243. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Brush Interval Selector.html +182 -0
  244. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Bubble Chart.html +299 -0
  245. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Candles.html +252 -0
  246. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Choropleth.html +318 -0
  247. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Color Scales.html +514 -0
  248. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Fast Interval Selector.html +182 -0
  249. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Feature_Vector_Distribution-Iris-Digits.html +479 -0
  250. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/FlexLine.html +128 -0
  251. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Gaussian Density Widget.html +152 -0
  252. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Gaussian Density.html +137 -0
  253. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Graph.html +484 -0
  254. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/GridHeatMap.html +483 -0
  255. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/HeatMap.html +170 -0
  256. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Hist.html +349 -0
  257. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Image.html +177 -0
  258. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Index.html +29 -0
  259. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Interaction Layer.html +1372 -0
  260. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Introduction.html +749 -0
  261. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Label.html +268 -0
  262. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Lines.html +704 -0
  263. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Linking Plots With Widgets.html +389 -0
  264. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Logs Dashboard.html +455 -0
  265. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Map.html +229 -0
  266. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Mark Interactions.html +613 -0
  267. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Market Map.html +413 -0
  268. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Mobile Patent Suits.html +131 -0
  269. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Neural Network.html +190 -0
  270. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Object Model.html +193 -0
  271. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Outlier Detection.html +363 -0
  272. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Pie.html +367 -0
  273. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Plotting Dates.html +337 -0
  274. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Pyplot.html +196 -0
  275. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Scatter.html +948 -0
  276. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Selectors.html +489 -0
  277. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Time Series.html +173 -0
  278. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Tutorials.html +40 -0
  279. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Updating Plots.html +228 -0
  280. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_altair_interactive.html +2216 -0
  281. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_altair_non_interactive.html +1170 -0
  282. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bgplot_line_plot.html +318 -0
  283. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_01_basic_plotting.html +1479 -0
  284. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_02_styling_and_theming.html +1524 -0
  285. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_03_data_sources_and_transformations.html +983 -0
  286. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_04_adding_annotations.html +1280 -0
  287. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_05_presentation_layouts.html +660 -0
  288. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_06_linking_and_interactions.html +1563 -0
  289. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_07_bar_and_categorical_data_plots.html +1888 -0
  290. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_08_graph_and_network_plots.html +689 -0
  291. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_09_geographic_plots.html +767 -0
  292. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_circular_times_table-short.html +475 -0
  293. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_circular_times_table.html +747 -0
  294. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_climate_change_forecast.html +1250 -0
  295. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -0
  296. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -0
  297. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_mathplot_vs_bqplot.html +407 -0
  298. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -0
  299. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -0
  300. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -0
  301. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -0
  302. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -0
  303. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -0
  304. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -0
  305. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -0
  306. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -0
  307. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_central_limit_theorem.html +290 -0
  308. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_correlation.html +818 -0
  309. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_empirical_distributions.html +351 -0
  310. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_linear_regression.html +106 -0
  311. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_probability_distribution_plots.html +228 -0
  312. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_sampling_from_a_population.html +518 -0
  313. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_variability_of_the_sample_mean.html +372 -0
  314. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_recipes_graphing.html +473 -0
  315. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +242 -0
  316. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_recipes_layout.html +496 -0
  317. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_tutorial_interact.html +329 -0
  318. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_tutorial_monty_hall.html +866 -0
  319. data/lib/starter_web/pages/public/_jupyter/where_to_go.adoc +270 -0
  320. data/lib/starter_web/pages/public/features/general.adoc +74 -33
  321. data/lib/starter_web/pages/public/features/template.adoc +159 -68
  322. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
  323. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
  324. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -95
  325. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
  326. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -96
  327. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
  328. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
  329. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -95
  330. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -93
  331. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
  332. data/lib/starter_web/pages/public/learn/_roundtrip/100_present_images.adoc +313 -0
  333. data/lib/starter_web/pages/public/learn/_roundtrip/100_present_videos.adoc +281 -0
  334. data/lib/starter_web/pages/public/learn/_roundtrip/200_typography.adoc +253 -0
  335. data/lib/starter_web/pages/public/learn/_roundtrip/300_icon_fonts.adoc +579 -0
  336. data/lib/starter_web/pages/public/learn/_roundtrip/400_asciidoc_extensions.adoc +718 -0
  337. data/lib/starter_web/pages/public/learn/_roundtrip/410_bs_modals_extentions.adoc +91 -0
  338. data/lib/starter_web/pages/public/learn/_roundtrip/420_responsive_tables_extensions.adoc +420 -0
  339. data/lib/starter_web/pages/public/learn/_roundtrip/500_themes.adoc +250 -0
  340. data/lib/starter_web/pages/public/learn/_roundtrip/600_quicksearch.adoc +425 -0
  341. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/attributes.asciidoc +118 -0
  342. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/100_gistblock.asciidoc +28 -0
  343. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_info.asciidoc +14 -0
  344. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +11 -0
  345. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +11 -0
  346. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_central_success.asciidoc +11 -0
  347. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_left_info.asciidoc +11 -0
  348. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_right_success.asciidoc +11 -0
  349. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_table_bs_modal_examples.asciidoc +47 -0
  350. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_info.asciidoc +11 -0
  351. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_left_info.asciidoc +11 -0
  352. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_right_success.asciidoc +11 -0
  353. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +337 -0
  354. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  355. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/google-ad.js +130 -0
  356. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +6 -5
  357. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -2
  358. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +4 -2
  359. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
  360. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
  361. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  362. data/lib/starter_web/utilsrv/package.json +1 -1
  363. metadata +384 -17
  364. data/lib/starter_web/_includes/_attributes.asciidoc +0 -575
  365. data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1080x800.jpg +0 -0
  366. data/lib/starter_web/assets/images/pages/features/comments-1080x600.jpg +0 -0
  367. data/lib/starter_web/assets/images/pages/features/cookie-consent-1080x800.jpg +0 -0
  368. data/lib/starter_web/assets/images/pages/features/example-content-present-videos-1080x800.jpg +0 -0
  369. data/lib/starter_web/assets/images/pages/features/fab-1080x500.jpg +0 -0
  370. data/lib/starter_web/assets/images/pages/features/full-text-search-1080x800.jpg +0 -0
  371. data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.jpg +0 -0
  372. data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.jpg +0 -0
  373. data/lib/starter_web/assets/images/pages/features/intro-panel-1080x800.jpg +0 -0
  374. data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.jpg +0 -0
  375. data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.jpg +0 -0
  376. data/lib/starter_web/assets/images/pages/features/nav-module-1080x300.jpg +0 -0
  377. data/lib/starter_web/assets/images/pages/features/teaser-banner-1080x600.jpg +0 -0
  378. data/lib/starter_web/assets/images/pages/features/translator-1080x800.jpg +0 -0
@@ -0,0 +1,767 @@
1
+ <div class="cell text_cell">
2
+ <button class="js-nbinteract-widget">
3
+ Loading widgets...
4
+ </button>
5
+ </div>
6
+
7
+
8
+
9
+ <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
10
+ <div class="text_cell_render border-box-sizing rendered_html">
11
+ <h2 id="9.-Geographic-Plots">9. Geographic Plots<a class="anchor-link" href="#9.-Geographic-Plots">&#182;</a></h2><p>It is often useful to be able to relate datasets with their real-world context. You can plot geographic data just like any other type of data, as in the <a href="https://docs.bokeh.org/en/latest/docs/gallery/texas.html">Texas Unemployment example</a>, but Bokeh also provides several specialized mechanisms for plotting data in geographic coordinates:</p>
12
+ <ul>
13
+ <li><p><a href="https://docs.bokeh.org/en/latest/docs/user_guide/geo.html#google-maps-support">GMapPlot</a>: Bokeh Plots on top of Google Maps</p>
14
+ </li>
15
+ <li><p><a href="https://docs.bokeh.org/en/latest/docs/user_guide/geo.html#tile-providers">TileSource</a>, especially WMTSTileSource: allows data to be overlaid on data from any map tile server, including
16
+ <a href="http://maps.google.com">Google Maps</a>,
17
+ <a href="http://maps.stamen.com">Stamen</a>,
18
+ <a href="https://www.mapquest.com/">MapQuest</a>,
19
+ <a href="https://www.openstreetmap.org">OpenStreetMap</a>,
20
+ <a href="http://www.esri.com">ESRI</a>,
21
+ and custom servers.</p>
22
+ </li>
23
+ <li><p><a href="https://docs.bokeh.org/en/latest/docs/user_guide/geo.html#geojson-datasource">GeoJSONDataSource</a>: Allows reading data in <a href="http://geojson.org/">GeoJSON</a> format for use with Bokeh plots and glyphs, similar to <code>ColumnDataSource</code>.</p>
24
+ </li>
25
+ </ul>
26
+
27
+ </div>
28
+ </div>
29
+ </div>
30
+
31
+
32
+
33
+ <div class="
34
+ cell border-box-sizing code_cell rendered">
35
+ <div class="input">
36
+
37
+ <div class="inner_cell">
38
+ <div class="input_area">
39
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="kn">from</span> <span class="nn">bokeh.io</span> <span class="kn">import</span> <span class="n">output_notebook</span><span class="p">,</span> <span class="n">show</span>
40
+ <span class="kn">from</span> <span class="nn">bokeh.plotting</span> <span class="kn">import</span> <span class="n">figure</span>
41
+ </pre></div>
42
+
43
+ </div>
44
+ </div>
45
+ </div>
46
+
47
+ </div>
48
+
49
+
50
+
51
+ <div class="nbinteract-hide_out
52
+ cell border-box-sizing code_cell rendered">
53
+ <div class="input">
54
+
55
+ <div class="inner_cell">
56
+ <div class="input_area">
57
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># nbi:hide_out</span>
58
+ <span class="c1"># Make all outputs INLINE for default (why a hell this is needed !!!)</span>
59
+ <span class="n">output_notebook</span><span class="p">()</span>
60
+ </pre></div>
61
+
62
+ </div>
63
+ </div>
64
+ </div>
65
+
66
+ <div class="output_wrapper">
67
+ <div class="output">
68
+
69
+
70
+ <div class="output_area">
71
+
72
+
73
+
74
+
75
+ <div class="output_html rendered_html output_subarea ">
76
+ <div class="bk-root">
77
+ <a href="https://bokeh.org" target="_blank" class="bk-logo bk-logo-small bk-logo-notebook"></a>
78
+ <span id="1002">Loading BokehJS ...</span>
79
+ </div>
80
+
81
+ </div>
82
+
83
+ </div>
84
+
85
+ <div class="output_area">
86
+
87
+
88
+
89
+
90
+
91
+
92
+ <div id="47284adb-f041-4315-8261-b334fb547689"></div>
93
+ <div class="output_subarea output_javascript ">
94
+ <script type="text/javascript">
95
+ var element = $('#47284adb-f041-4315-8261-b334fb547689');
96
+ (function(root) {
97
+ function now() {
98
+ return new Date();
99
+ }
100
+
101
+ const force = true;
102
+
103
+ if (typeof root._bokeh_onload_callbacks === "undefined" || force === true) {
104
+ root._bokeh_onload_callbacks = [];
105
+ root._bokeh_is_loading = undefined;
106
+ }
107
+
108
+ const JS_MIME_TYPE = 'application/javascript';
109
+ const HTML_MIME_TYPE = 'text/html';
110
+ const EXEC_MIME_TYPE = 'application/vnd.bokehjs_exec.v0+json';
111
+ const CLASS_NAME = 'output_bokeh rendered_html';
112
+
113
+ /**
114
+ * Render data to the DOM node
115
+ */
116
+ function render(props, node) {
117
+ const script = document.createElement("script");
118
+ node.appendChild(script);
119
+ }
120
+
121
+ /**
122
+ * Handle when an output is cleared or removed
123
+ */
124
+ function handleClearOutput(event, handle) {
125
+ const cell = handle.cell;
126
+
127
+ const id = cell.output_area._bokeh_element_id;
128
+ const server_id = cell.output_area._bokeh_server_id;
129
+ // Clean up Bokeh references
130
+ if (id != null && id in Bokeh.index) {
131
+ Bokeh.index[id].model.document.clear();
132
+ delete Bokeh.index[id];
133
+ }
134
+
135
+ if (server_id !== undefined) {
136
+ // Clean up Bokeh references
137
+ const cmd_clean = "from bokeh.io.state import curstate; print(curstate().uuid_to_server['" + server_id + "'].get_sessions()[0].document.roots[0]._id)";
138
+ cell.notebook.kernel.execute(cmd_clean, {
139
+ iopub: {
140
+ output: function(msg) {
141
+ const id = msg.content.text.trim();
142
+ if (id in Bokeh.index) {
143
+ Bokeh.index[id].model.document.clear();
144
+ delete Bokeh.index[id];
145
+ }
146
+ }
147
+ }
148
+ });
149
+ // Destroy server and session
150
+ const cmd_destroy = "import bokeh.io.notebook as ion; ion.destroy_server('" + server_id + "')";
151
+ cell.notebook.kernel.execute(cmd_destroy);
152
+ }
153
+ }
154
+
155
+ /**
156
+ * Handle when a new output is added
157
+ */
158
+ function handleAddOutput(event, handle) {
159
+ const output_area = handle.output_area;
160
+ const output = handle.output;
161
+
162
+ // limit handleAddOutput to display_data with EXEC_MIME_TYPE content only
163
+ if ((output.output_type != "display_data") || (!Object.prototype.hasOwnProperty.call(output.data, EXEC_MIME_TYPE))) {
164
+ return
165
+ }
166
+
167
+ const toinsert = output_area.element.find("." + CLASS_NAME.split(' ')[0]);
168
+
169
+ if (output.metadata[EXEC_MIME_TYPE]["id"] !== undefined) {
170
+ toinsert[toinsert.length - 1].firstChild.textContent = output.data[JS_MIME_TYPE];
171
+ // store reference to embed id on output_area
172
+ output_area._bokeh_element_id = output.metadata[EXEC_MIME_TYPE]["id"];
173
+ }
174
+ if (output.metadata[EXEC_MIME_TYPE]["server_id"] !== undefined) {
175
+ const bk_div = document.createElement("div");
176
+ bk_div.innerHTML = output.data[HTML_MIME_TYPE];
177
+ const script_attrs = bk_div.children[0].attributes;
178
+ for (let i = 0; i < script_attrs.length; i++) {
179
+ toinsert[toinsert.length - 1].firstChild.setAttribute(script_attrs[i].name, script_attrs[i].value);
180
+ toinsert[toinsert.length - 1].firstChild.textContent = bk_div.children[0].textContent
181
+ }
182
+ // store reference to server id on output_area
183
+ output_area._bokeh_server_id = output.metadata[EXEC_MIME_TYPE]["server_id"];
184
+ }
185
+ }
186
+
187
+ function register_renderer(events, OutputArea) {
188
+
189
+ function append_mime(data, metadata, element) {
190
+ // create a DOM node to render to
191
+ const toinsert = this.create_output_subarea(
192
+ metadata,
193
+ CLASS_NAME,
194
+ EXEC_MIME_TYPE
195
+ );
196
+ this.keyboard_manager.register_events(toinsert);
197
+ // Render to node
198
+ const props = {data: data, metadata: metadata[EXEC_MIME_TYPE]};
199
+ render(props, toinsert[toinsert.length - 1]);
200
+ element.append(toinsert);
201
+ return toinsert
202
+ }
203
+
204
+ /* Handle when an output is cleared or removed */
205
+ events.on('clear_output.CodeCell', handleClearOutput);
206
+ events.on('delete.Cell', handleClearOutput);
207
+
208
+ /* Handle when a new output is added */
209
+ events.on('output_added.OutputArea', handleAddOutput);
210
+
211
+ /**
212
+ * Register the mime type and append_mime function with output_area
213
+ */
214
+ OutputArea.prototype.register_mime_type(EXEC_MIME_TYPE, append_mime, {
215
+ /* Is output safe? */
216
+ safe: true,
217
+ /* Index of renderer in `output_area.display_order` */
218
+ index: 0
219
+ });
220
+ }
221
+
222
+ // register the mime type if in Jupyter Notebook environment and previously unregistered
223
+ if (root.Jupyter !== undefined) {
224
+ const events = require('base/js/events');
225
+ const OutputArea = require('notebook/js/outputarea').OutputArea;
226
+
227
+ if (OutputArea.prototype.mime_types().indexOf(EXEC_MIME_TYPE) == -1) {
228
+ register_renderer(events, OutputArea);
229
+ }
230
+ }
231
+ if (typeof (root._bokeh_timeout) === "undefined" || force === true) {
232
+ root._bokeh_timeout = Date.now() + 5000;
233
+ root._bokeh_failed_load = false;
234
+ }
235
+
236
+ const NB_LOAD_WARNING = {'data': {'text/html':
237
+ "<div style='background-color: #fdd'>\n"+
238
+ "<p>\n"+
239
+ "BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \n"+
240
+ "may be due to a slow or bad network connection. Possible fixes:\n"+
241
+ "</p>\n"+
242
+ "<ul>\n"+
243
+ "<li>re-rerun `output_notebook()` to attempt to load from CDN again, or</li>\n"+
244
+ "<li>use INLINE resources instead, as so:</li>\n"+
245
+ "</ul>\n"+
246
+ "<code>\n"+
247
+ "from bokeh.resources import INLINE\n"+
248
+ "output_notebook(resources=INLINE)\n"+
249
+ "</code>\n"+
250
+ "</div>"}};
251
+
252
+ function display_loaded() {
253
+ const el = document.getElementById("1002");
254
+ if (el != null) {
255
+ el.textContent = "BokehJS is loading...";
256
+ }
257
+ if (root.Bokeh !== undefined) {
258
+ if (el != null) {
259
+ el.textContent = "BokehJS " + root.Bokeh.version + " successfully loaded.";
260
+ }
261
+ } else if (Date.now() < root._bokeh_timeout) {
262
+ setTimeout(display_loaded, 100)
263
+ }
264
+ }
265
+
266
+ function run_callbacks() {
267
+ try {
268
+ root._bokeh_onload_callbacks.forEach(function(callback) {
269
+ if (callback != null)
270
+ callback();
271
+ });
272
+ } finally {
273
+ delete root._bokeh_onload_callbacks
274
+ }
275
+ console.debug("Bokeh: all callbacks have finished");
276
+ }
277
+
278
+ function load_libs(css_urls, js_urls, callback) {
279
+ if (css_urls == null) css_urls = [];
280
+ if (js_urls == null) js_urls = [];
281
+
282
+ root._bokeh_onload_callbacks.push(callback);
283
+ if (root._bokeh_is_loading > 0) {
284
+ console.debug("Bokeh: BokehJS is being loaded, scheduling callback at", now());
285
+ return null;
286
+ }
287
+ if (js_urls == null || js_urls.length === 0) {
288
+ run_callbacks();
289
+ return null;
290
+ }
291
+ console.debug("Bokeh: BokehJS not loaded, scheduling load and callback at", now());
292
+ root._bokeh_is_loading = css_urls.length + js_urls.length;
293
+
294
+ function on_load() {
295
+ root._bokeh_is_loading--;
296
+ if (root._bokeh_is_loading === 0) {
297
+ console.debug("Bokeh: all BokehJS libraries/stylesheets loaded");
298
+ run_callbacks()
299
+ }
300
+ }
301
+
302
+ function on_error(url) {
303
+ console.error("failed to load " + url);
304
+ }
305
+
306
+ for (let i = 0; i < css_urls.length; i++) {
307
+ const url = css_urls[i];
308
+ const element = document.createElement("link");
309
+ element.onload = on_load;
310
+ element.onerror = on_error.bind(null, url);
311
+ element.rel = "stylesheet";
312
+ element.type = "text/css";
313
+ element.href = url;
314
+ console.debug("Bokeh: injecting link tag for BokehJS stylesheet: ", url);
315
+ document.body.appendChild(element);
316
+ }
317
+
318
+ for (let i = 0; i < js_urls.length; i++) {
319
+ const url = js_urls[i];
320
+ const element = document.createElement('script');
321
+ element.onload = on_load;
322
+ element.onerror = on_error.bind(null, url);
323
+ element.async = false;
324
+ element.src = url;
325
+ console.debug("Bokeh: injecting script tag for BokehJS library: ", url);
326
+ document.head.appendChild(element);
327
+ }
328
+ };
329
+
330
+ function inject_raw_css(css) {
331
+ const element = document.createElement("style");
332
+ element.appendChild(document.createTextNode(css));
333
+ document.body.appendChild(element);
334
+ }
335
+
336
+ const js_urls = ["https://cdn.bokeh.org/bokeh/release/bokeh-2.4.3.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-gl-2.4.3.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.3.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.4.3.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-2.4.3.min.js"];
337
+ const css_urls = [];
338
+
339
+ const inline_js = [ function(Bokeh) {
340
+ Bokeh.set_log_level("info");
341
+ },
342
+ function(Bokeh) {
343
+ }
344
+ ];
345
+
346
+ function run_inline_js() {
347
+ if (root.Bokeh !== undefined || force === true) {
348
+ for (let i = 0; i < inline_js.length; i++) {
349
+ inline_js[i].call(root, root.Bokeh);
350
+ }
351
+ if (force === true) {
352
+ display_loaded();
353
+ }} else if (Date.now() < root._bokeh_timeout) {
354
+ setTimeout(run_inline_js, 100);
355
+ } else if (!root._bokeh_failed_load) {
356
+ console.log("Bokeh: BokehJS failed to load within specified timeout.");
357
+ root._bokeh_failed_load = true;
358
+ } else if (force !== true) {
359
+ const cell = $(document.getElementById("1002")).parents('.cell').data().cell;
360
+ cell.output_area.append_execute_result(NB_LOAD_WARNING)
361
+ }
362
+ }
363
+
364
+ if (root._bokeh_is_loading === 0) {
365
+ console.debug("Bokeh: BokehJS loaded, going straight to plotting");
366
+ run_inline_js();
367
+ } else {
368
+ load_libs(css_urls, js_urls, function() {
369
+ console.debug("Bokeh: BokehJS plotting callback run at", now());
370
+ run_inline_js();
371
+ });
372
+ }
373
+ }(window));
374
+ </script>
375
+ </div>
376
+
377
+ </div>
378
+
379
+ </div>
380
+ </div>
381
+
382
+ </div>
383
+ <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
384
+ <div class="text_cell_render border-box-sizing rendered_html">
385
+ <h3 id="WMTS-Tile-Source">WMTS Tile Source<a class="anchor-link" href="#WMTS-Tile-Source">&#182;</a></h3><p>WTMS is the most common web standard for tiled map data, i.e. maps supplied as standard-sized image patches from which the overall map can be constructed at a given zoom level. WTMS uses Web Mercator format, measuring distances from Greenwich, England as meters north and meters west, which is easy to compute but does distort the global shape.</p>
386
+ <p>First let's create an empty Bokeh plot covering the USA, with bounds specified in meters:</p>
387
+
388
+ </div>
389
+ </div>
390
+ </div>
391
+
392
+
393
+
394
+ <div class="
395
+ cell border-box-sizing code_cell rendered">
396
+ <div class="input">
397
+
398
+ <div class="inner_cell">
399
+ <div class="input_area">
400
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="kn">from</span> <span class="nn">bokeh.plotting</span> <span class="kn">import</span> <span class="n">figure</span>
401
+ <span class="kn">from</span> <span class="nn">bokeh.models</span> <span class="kn">import</span> <span class="n">WMTSTileSource</span>
402
+
403
+ <span class="c1"># web mercator coordinates</span>
404
+ <span class="n">USA</span> <span class="o">=</span> <span class="n">x_range</span><span class="p">,</span><span class="n">y_range</span> <span class="o">=</span> <span class="p">(</span>
405
+ <span class="p">(</span><span class="o">-</span><span class="mi">13884029</span><span class="p">,</span><span class="o">-</span><span class="mi">7453304</span><span class="p">),</span>
406
+ <span class="p">(</span><span class="mi">2698291</span><span class="p">,</span><span class="mi">6455972</span><span class="p">)</span>
407
+ <span class="p">)</span>
408
+
409
+ <span class="n">p</span> <span class="o">=</span> <span class="n">figure</span><span class="p">(</span>
410
+ <span class="n">plot_width</span><span class="o">=</span><span class="mi">800</span><span class="p">,</span>
411
+ <span class="n">tools</span><span class="o">=</span><span class="s1">&#39;pan, wheel_zoom, reset&#39;</span><span class="p">,</span>
412
+ <span class="n">x_range</span><span class="o">=</span><span class="n">x_range</span><span class="p">,</span>
413
+ <span class="n">y_range</span><span class="o">=</span><span class="n">y_range</span><span class="p">,</span>
414
+ <span class="n">x_axis_type</span><span class="o">=</span><span class="s2">&quot;mercator&quot;</span><span class="p">,</span>
415
+ <span class="n">y_axis_type</span><span class="o">=</span><span class="s2">&quot;mercator&quot;</span><span class="p">)</span>
416
+ </pre></div>
417
+
418
+ </div>
419
+ </div>
420
+ </div>
421
+
422
+ </div>
423
+ <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
424
+ <div class="text_cell_render border-box-sizing rendered_html">
425
+ <p>A few WTMS tile sources are already defined in <code>bokeh.tile_providers</code>, but here we'll show how to specify the interface using a format string showing Bokeh how to request a tile with the required zoom, x, and y values from a given tile provider:</p>
426
+
427
+ </div>
428
+ </div>
429
+ </div>
430
+
431
+
432
+
433
+ <div class="
434
+ cell border-box-sizing code_cell rendered">
435
+ <div class="input">
436
+
437
+ <div class="inner_cell">
438
+ <div class="input_area">
439
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">url</span> <span class="o">=</span> <span class="s1">&#39;http://a.basemaps.cartocdn.com/rastertiles/voyager/</span><span class="si">{Z}</span><span class="s1">/</span><span class="si">{X}</span><span class="s1">/</span><span class="si">{Y}</span><span class="s1">.png&#39;</span>
440
+ <span class="n">attribution</span> <span class="o">=</span> <span class="s2">&quot;Tiles by Carto, under CC BY 3.0. Data by OSM, under ODbL&quot;</span>
441
+
442
+ <span class="n">p</span><span class="o">.</span><span class="n">add_tile</span><span class="p">(</span><span class="n">WMTSTileSource</span><span class="p">(</span><span class="n">url</span><span class="o">=</span><span class="n">url</span><span class="p">,</span> <span class="n">attribution</span><span class="o">=</span><span class="n">attribution</span><span class="p">))</span>
443
+ </pre></div>
444
+
445
+ </div>
446
+ </div>
447
+ </div>
448
+
449
+ <div class="output_wrapper">
450
+ <div class="output">
451
+
452
+
453
+ <div class="output_area">
454
+
455
+
456
+
457
+
458
+ <div class="output_html rendered_html output_subarea output_execute_result">
459
+ <div style="display: table;"><div style="display: table-row;"><div style="display: table-cell;"><b title="bokeh.models.renderers.TileRenderer">TileRenderer</b>(</div><div style="display: table-cell;">id&nbsp;=&nbsp;'1036', <span id="1039" style="cursor: pointer;">&hellip;)</span></div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">alpha&nbsp;=&nbsp;1.0,</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">coordinates&nbsp;=&nbsp;None,</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">group&nbsp;=&nbsp;None,</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">js_event_callbacks&nbsp;=&nbsp;{},</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">js_property_callbacks&nbsp;=&nbsp;{},</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">level&nbsp;=&nbsp;'image',</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">name&nbsp;=&nbsp;None,</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">render_parents&nbsp;=&nbsp;True,</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">smoothing&nbsp;=&nbsp;True,</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">subscribed_events&nbsp;=&nbsp;[],</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">syncable&nbsp;=&nbsp;True,</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">tags&nbsp;=&nbsp;[],</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">tile_source&nbsp;=&nbsp;WMTSTileSource(id='1035', ...),</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">visible&nbsp;=&nbsp;True,</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">x_range_name&nbsp;=&nbsp;'default',</div></div><div class="1038" style="display: none;"><div style="display: table-cell;"></div><div style="display: table-cell;">y_range_name&nbsp;=&nbsp;'default')</div></div></div>
460
+ <script>
461
+ (function() {
462
+ let expanded = false;
463
+ const ellipsis = document.getElementById("1039");
464
+ ellipsis.addEventListener("click", function() {
465
+ const rows = document.getElementsByClassName("1038");
466
+ for (let i = 0; i < rows.length; i++) {
467
+ const el = rows[i];
468
+ el.style.display = expanded ? "none" : "table-row";
469
+ }
470
+ ellipsis.innerHTML = expanded ? "&hellip;)" : "&lsaquo;&lsaquo;&lsaquo;";
471
+ expanded = !expanded;
472
+ });
473
+ })();
474
+ </script>
475
+
476
+ </div>
477
+
478
+ </div>
479
+
480
+ </div>
481
+ </div>
482
+
483
+ </div>
484
+ <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
485
+ <div class="text_cell_render border-box-sizing rendered_html">
486
+ <p>If you show the figure, you can then use the wheel zoom and pan tools to navigate over any zoom level, and Bokeh will request the appropriate tiles from the server and insert them at the correct locations in the plot:</p>
487
+
488
+ </div>
489
+ </div>
490
+ </div>
491
+
492
+
493
+
494
+ <div class="
495
+ cell border-box-sizing code_cell rendered">
496
+ <div class="input">
497
+
498
+ <div class="inner_cell">
499
+ <div class="input_area">
500
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># show the results</span>
501
+ <span class="n">show</span><span class="p">(</span><span class="n">p</span><span class="p">)</span>
502
+ </pre></div>
503
+
504
+ </div>
505
+ </div>
506
+ </div>
507
+
508
+ <div class="output_wrapper">
509
+ <div class="output">
510
+
511
+
512
+ <div class="output_area">
513
+
514
+
515
+
516
+
517
+ <div class="output_html rendered_html output_subarea ">
518
+
519
+ <div class="bk-root" id="ba68e445-dff5-45db-9101-09673511ce62" data-root-id="1003"></div>
520
+
521
+ </div>
522
+
523
+ </div>
524
+
525
+ <div class="output_area">
526
+
527
+
528
+
529
+
530
+
531
+
532
+ <div id="8675d913-fbae-4203-8f8f-99aa937817dc"></div>
533
+ <div class="output_subarea output_javascript ">
534
+ <script type="text/javascript">
535
+ var element = $('#8675d913-fbae-4203-8f8f-99aa937817dc');
536
+ (function(root) {
537
+ function embed_document(root) {
538
+ const docs_json = {"0e7d3e5e-fb9d-4476-afd5-3155263333bd":{"defs":[],"roots":{"references":[{"attributes":{"below":[{"id":"1012"}],"center":[{"id":"1019"},{"id":"1027"}],"left":[{"id":"1020"}],"renderers":[{"id":"1036"}],"title":{"id":"1040"},"toolbar":{"id":"1031"},"width":800,"x_range":{"id":"1004"},"x_scale":{"id":"1008"},"y_range":{"id":"1006"},"y_scale":{"id":"1010"}},"id":"1003","subtype":"Figure","type":"Plot"},{"attributes":{"tools":[{"id":"1028"},{"id":"1029"},{"id":"1030"}]},"id":"1031","type":"Toolbar"},{"attributes":{"attribution":"Tiles by Carto, under CC BY 3.0. Data by OSM, under ODbL","url":"http://a.basemaps.cartocdn.com/rastertiles/voyager/{Z}/{X}/{Y}.png"},"id":"1035","type":"WMTSTileSource"},{"attributes":{},"id":"1028","type":"PanTool"},{"attributes":{"end":6455972,"start":2698291},"id":"1006","type":"Range1d"},{"attributes":{},"id":"1029","type":"WheelZoomTool"},{"attributes":{"dimension":"lon"},"id":"1013","type":"MercatorTicker"},{"attributes":{"end":-7453304,"start":-13884029},"id":"1004","type":"Range1d"},{"attributes":{},"id":"1030","type":"ResetTool"},{"attributes":{},"id":"1008","type":"LinearScale"},{"attributes":{},"id":"1010","type":"LinearScale"},{"attributes":{"coordinates":null,"formatter":{"id":"1015"},"group":null,"major_label_policy":{"id":"1047"},"ticker":{"id":"1013"}},"id":"1012","type":"MercatorAxis"},{"attributes":{"axis":{"id":"1012"},"coordinates":null,"group":null,"ticker":null},"id":"1019","type":"Grid"},{"attributes":{"dimension":"lat"},"id":"1021","type":"MercatorTicker"},{"attributes":{"coordinates":null,"group":null},"id":"1040","type":"Title"},{"attributes":{"dimension":"lon"},"id":"1015","type":"MercatorTickFormatter"},{"attributes":{"coordinates":null,"formatter":{"id":"1023"},"group":null,"major_label_policy":{"id":"1044"},"ticker":{"id":"1021"}},"id":"1020","type":"MercatorAxis"},{"attributes":{},"id":"1047","type":"AllLabels"},{"attributes":{"coordinates":null,"group":null,"tile_source":{"id":"1035"}},"id":"1036","type":"TileRenderer"},{"attributes":{"axis":{"id":"1020"},"coordinates":null,"dimension":1,"group":null,"ticker":null},"id":"1027","type":"Grid"},{"attributes":{"dimension":"lat"},"id":"1023","type":"MercatorTickFormatter"},{"attributes":{},"id":"1044","type":"AllLabels"}],"root_ids":["1003"]},"title":"Bokeh Application","version":"2.4.3"}};
539
+ const render_items = [{"docid":"0e7d3e5e-fb9d-4476-afd5-3155263333bd","root_ids":["1003"],"roots":{"1003":"ba68e445-dff5-45db-9101-09673511ce62"}}];
540
+ root.Bokeh.embed.embed_items_notebook(docs_json, render_items);
541
+ }
542
+ if (root.Bokeh !== undefined) {
543
+ embed_document(root);
544
+ } else {
545
+ let attempts = 0;
546
+ const timer = setInterval(function(root) {
547
+ if (root.Bokeh !== undefined) {
548
+ clearInterval(timer);
549
+ embed_document(root);
550
+ } else {
551
+ attempts++;
552
+ if (attempts > 100) {
553
+ clearInterval(timer);
554
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
555
+ }
556
+ }
557
+ }, 10, root)
558
+ }
559
+ })(window);
560
+ </script>
561
+ </div>
562
+
563
+ </div>
564
+
565
+ </div>
566
+ </div>
567
+
568
+ </div>
569
+ <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
570
+ <div class="text_cell_render border-box-sizing rendered_html">
571
+ <p>That's all it takes to put map data into your plot! Of course, you'll usually want to show other data as well, or you could just use the tile server's own web address. You can now add anything you would normally use in a Bokeh plot, as long as you can obtain coordinates for it in Web Mercator format. For example:</p>
572
+
573
+ </div>
574
+ </div>
575
+ </div>
576
+
577
+
578
+
579
+ <div class="
580
+ cell border-box-sizing code_cell rendered">
581
+ <div class="input">
582
+
583
+ <div class="inner_cell">
584
+ <div class="input_area">
585
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="kn">import</span> <span class="nn">pandas</span> <span class="k">as</span> <span class="nn">pd</span>
586
+ <span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
587
+
588
+ <span class="k">def</span> <span class="nf">wgs84_to_web_mercator</span><span class="p">(</span><span class="n">df</span><span class="p">,</span> <span class="n">lon</span><span class="o">=</span><span class="s2">&quot;lon&quot;</span><span class="p">,</span> <span class="n">lat</span><span class="o">=</span><span class="s2">&quot;lat&quot;</span><span class="p">):</span>
589
+ <span class="sd">&quot;&quot;&quot;Converts decimal longitude/latitude to Web Mercator format&quot;&quot;&quot;</span>
590
+ <span class="n">k</span> <span class="o">=</span> <span class="mi">6378137</span>
591
+ <span class="n">df</span><span class="p">[</span><span class="s2">&quot;x&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">df</span><span class="p">[</span><span class="n">lon</span><span class="p">]</span> <span class="o">*</span> <span class="p">(</span><span class="n">k</span> <span class="o">*</span> <span class="n">np</span><span class="o">.</span><span class="n">pi</span><span class="o">/</span><span class="mf">180.0</span><span class="p">)</span>
592
+ <span class="n">df</span><span class="p">[</span><span class="s2">&quot;y&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">log</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">tan</span><span class="p">((</span><span class="mi">90</span> <span class="o">+</span> <span class="n">df</span><span class="p">[</span><span class="n">lat</span><span class="p">])</span> <span class="o">*</span> <span class="n">np</span><span class="o">.</span><span class="n">pi</span><span class="o">/</span><span class="mf">360.0</span><span class="p">))</span> <span class="o">*</span> <span class="n">k</span>
593
+ <span class="k">return</span> <span class="n">df</span>
594
+
595
+ <span class="n">df</span> <span class="o">=</span> <span class="n">pd</span><span class="o">.</span><span class="n">DataFrame</span><span class="p">(</span><span class="nb">dict</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="p">[</span><span class="s2">&quot;Austin&quot;</span><span class="p">,</span> <span class="s2">&quot;NYC&quot;</span><span class="p">],</span> <span class="n">lon</span><span class="o">=</span><span class="p">[</span><span class="o">-</span><span class="mf">97.7431</span><span class="p">,</span><span class="o">-</span><span class="mf">74.0059</span><span class="p">],</span> <span class="n">lat</span><span class="o">=</span><span class="p">[</span><span class="mf">30.2672</span><span class="p">,</span><span class="mf">40.7128</span><span class="p">]))</span>
596
+ <span class="n">wgs84_to_web_mercator</span><span class="p">(</span><span class="n">df</span><span class="p">)</span>
597
+ </pre></div>
598
+
599
+ </div>
600
+ </div>
601
+ </div>
602
+
603
+ <div class="output_wrapper">
604
+ <div class="output">
605
+
606
+
607
+ <div class="output_area">
608
+
609
+
610
+
611
+
612
+ <div class="output_html rendered_html output_subarea output_execute_result">
613
+ <div>
614
+ <style scoped>
615
+ .dataframe tbody tr th:only-of-type {
616
+ vertical-align: middle;
617
+ }
618
+
619
+ .dataframe tbody tr th {
620
+ vertical-align: top;
621
+ }
622
+
623
+ .dataframe thead th {
624
+ text-align: right;
625
+ }
626
+ </style>
627
+ <table border="1" class="dataframe">
628
+ <thead>
629
+ <tr style="text-align: right;">
630
+ <th></th>
631
+ <th>name</th>
632
+ <th>lon</th>
633
+ <th>lat</th>
634
+ <th>x</th>
635
+ <th>y</th>
636
+ </tr>
637
+ </thead>
638
+ <tbody>
639
+ <tr>
640
+ <th>0</th>
641
+ <td>Austin</td>
642
+ <td>-97.7431</td>
643
+ <td>30.2672</td>
644
+ <td>-1.088071e+07</td>
645
+ <td>3.537942e+06</td>
646
+ </tr>
647
+ <tr>
648
+ <th>1</th>
649
+ <td>NYC</td>
650
+ <td>-74.0059</td>
651
+ <td>40.7128</td>
652
+ <td>-8.238299e+06</td>
653
+ <td>4.970072e+06</td>
654
+ </tr>
655
+ </tbody>
656
+ </table>
657
+ </div>
658
+ </div>
659
+
660
+ </div>
661
+
662
+ </div>
663
+ </div>
664
+
665
+ </div>
666
+
667
+
668
+
669
+ <div class="
670
+ cell border-box-sizing code_cell rendered">
671
+ <div class="input">
672
+
673
+ <div class="inner_cell">
674
+ <div class="input_area">
675
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">p</span> <span class="o">=</span> <span class="n">figure</span><span class="p">(</span>
676
+ <span class="n">plot_width</span><span class="o">=</span><span class="mi">800</span><span class="p">,</span>
677
+ <span class="n">tools</span><span class="o">=</span><span class="s1">&#39;pan, wheel_zoom, reset&#39;</span><span class="p">,</span>
678
+ <span class="n">x_range</span><span class="o">=</span><span class="n">x_range</span><span class="p">,</span>
679
+ <span class="n">y_range</span><span class="o">=</span><span class="n">y_range</span><span class="p">,</span>
680
+ <span class="n">x_axis_type</span><span class="o">=</span><span class="s2">&quot;mercator&quot;</span><span class="p">,</span>
681
+ <span class="n">y_axis_type</span><span class="o">=</span><span class="s2">&quot;mercator&quot;</span>
682
+ <span class="p">)</span>
683
+
684
+ <span class="n">p</span><span class="o">.</span><span class="n">add_tile</span><span class="p">(</span>
685
+ <span class="n">WMTSTileSource</span><span class="p">(</span>
686
+ <span class="n">url</span><span class="o">=</span><span class="n">url</span><span class="p">,</span>
687
+ <span class="n">attribution</span><span class="o">=</span><span class="n">attribution</span>
688
+ <span class="p">)</span>
689
+ <span class="p">)</span>
690
+
691
+ <span class="n">p</span><span class="o">.</span><span class="n">circle</span><span class="p">(</span>
692
+ <span class="n">x</span><span class="o">=</span><span class="n">df</span><span class="p">[</span><span class="s1">&#39;x&#39;</span><span class="p">],</span>
693
+ <span class="n">y</span><span class="o">=</span><span class="n">df</span><span class="p">[</span><span class="s1">&#39;y&#39;</span><span class="p">],</span>
694
+ <span class="n">fill_color</span><span class="o">=</span><span class="s1">&#39;orange&#39;</span><span class="p">,</span>
695
+ <span class="n">size</span><span class="o">=</span><span class="mi">10</span>
696
+ <span class="p">)</span>
697
+
698
+ <span class="c1"># show the results</span>
699
+ <span class="n">show</span><span class="p">(</span><span class="n">p</span><span class="p">)</span>
700
+ </pre></div>
701
+
702
+ </div>
703
+ </div>
704
+ </div>
705
+
706
+ <div class="output_wrapper">
707
+ <div class="output">
708
+
709
+
710
+ <div class="output_area">
711
+
712
+
713
+
714
+
715
+ <div class="output_html rendered_html output_subarea ">
716
+
717
+ <div class="bk-root" id="0d2e5850-00ed-4efe-8d28-27779b6704bb" data-root-id="1088"></div>
718
+
719
+ </div>
720
+
721
+ </div>
722
+
723
+ <div class="output_area">
724
+
725
+
726
+
727
+
728
+
729
+
730
+ <div id="dc802a3a-1bbf-4514-b927-b0c38d84ccda"></div>
731
+ <div class="output_subarea output_javascript ">
732
+ <script type="text/javascript">
733
+ var element = $('#dc802a3a-1bbf-4514-b927-b0c38d84ccda');
734
+ (function(root) {
735
+ function embed_document(root) {
736
+ const docs_json = {"a0d467d0-b838-42e9-9853-4770b4886c59":{"defs":[],"roots":{"references":[{"attributes":{"below":[{"id":"1097"}],"center":[{"id":"1104"},{"id":"1112"}],"left":[{"id":"1105"}],"renderers":[{"id":"1121"},{"id":"1127"}],"title":{"id":"1137"},"toolbar":{"id":"1116"},"width":800,"x_range":{"id":"1089"},"x_scale":{"id":"1093"},"y_range":{"id":"1091"},"y_scale":{"id":"1095"}},"id":"1088","subtype":"Figure","type":"Plot"},{"attributes":{"dimension":"lat"},"id":"1106","type":"MercatorTicker"},{"attributes":{},"id":"1146","type":"Selection"},{"attributes":{},"id":"1141","type":"AllLabels"},{"attributes":{"dimension":"lon"},"id":"1098","type":"MercatorTicker"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"orange"},"hatch_alpha":{"value":0.1},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"1125","type":"Circle"},{"attributes":{},"id":"1113","type":"PanTool"},{"attributes":{},"id":"1114","type":"WheelZoomTool"},{"attributes":{"coordinates":null,"formatter":{"id":"1100"},"group":null,"major_label_policy":{"id":"1144"},"ticker":{"id":"1098"}},"id":"1097","type":"MercatorAxis"},{"attributes":{},"id":"1144","type":"AllLabels"},{"attributes":{"source":{"id":"1123"}},"id":"1128","type":"CDSView"},{"attributes":{"data":{"x":{"__ndarray__":"TJjbA9nAZMGf/KLGNm1fwQ==","dtype":"float64","order":"little","shape":[2]},"y":{"__ndarray__":"bqXdLQv+SkFnqxDllfVSQQ==","dtype":"float64","order":"little","shape":[2]}},"selected":{"id":"1146"},"selection_policy":{"id":"1145"}},"id":"1123","type":"ColumnDataSource"},{"attributes":{"end":-7453304,"start":-13884029},"id":"1089","type":"Range1d"},{"attributes":{"tools":[{"id":"1113"},{"id":"1114"},{"id":"1115"}]},"id":"1116","type":"Toolbar"},{"attributes":{},"id":"1093","type":"LinearScale"},{"attributes":{"dimension":"lat"},"id":"1108","type":"MercatorTickFormatter"},{"attributes":{"coordinates":null,"data_source":{"id":"1123"},"glyph":{"id":"1124"},"group":null,"hover_glyph":null,"muted_glyph":{"id":"1126"},"nonselection_glyph":{"id":"1125"},"view":{"id":"1128"}},"id":"1127","type":"GlyphRenderer"},{"attributes":{"coordinates":null,"group":null},"id":"1137","type":"Title"},{"attributes":{"axis":{"id":"1097"},"coordinates":null,"group":null,"ticker":null},"id":"1104","type":"Grid"},{"attributes":{"fill_color":{"value":"orange"},"line_color":{"value":"#1f77b4"},"size":{"value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"1124","type":"Circle"},{"attributes":{},"id":"1115","type":"ResetTool"},{"attributes":{"coordinates":null,"formatter":{"id":"1108"},"group":null,"major_label_policy":{"id":"1141"},"ticker":{"id":"1106"}},"id":"1105","type":"MercatorAxis"},{"attributes":{"axis":{"id":"1105"},"coordinates":null,"dimension":1,"group":null,"ticker":null},"id":"1112","type":"Grid"},{"attributes":{},"id":"1145","type":"UnionRenderers"},{"attributes":{"attribution":"Tiles by Carto, under CC BY 3.0. Data by OSM, under ODbL","url":"http://a.basemaps.cartocdn.com/rastertiles/voyager/{Z}/{X}/{Y}.png"},"id":"1120","type":"WMTSTileSource"},{"attributes":{"end":6455972,"start":2698291},"id":"1091","type":"Range1d"},{"attributes":{"fill_alpha":{"value":0.2},"fill_color":{"value":"orange"},"hatch_alpha":{"value":0.2},"line_alpha":{"value":0.2},"line_color":{"value":"#1f77b4"},"size":{"value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"1126","type":"Circle"},{"attributes":{"dimension":"lon"},"id":"1100","type":"MercatorTickFormatter"},{"attributes":{},"id":"1095","type":"LinearScale"},{"attributes":{"coordinates":null,"group":null,"tile_source":{"id":"1120"}},"id":"1121","type":"TileRenderer"}],"root_ids":["1088"]},"title":"Bokeh Application","version":"2.4.3"}};
737
+ const render_items = [{"docid":"a0d467d0-b838-42e9-9853-4770b4886c59","root_ids":["1088"],"roots":{"1088":"0d2e5850-00ed-4efe-8d28-27779b6704bb"}}];
738
+ root.Bokeh.embed.embed_items_notebook(docs_json, render_items);
739
+ }
740
+ if (root.Bokeh !== undefined) {
741
+ embed_document(root);
742
+ } else {
743
+ let attempts = 0;
744
+ const timer = setInterval(function(root) {
745
+ if (root.Bokeh !== undefined) {
746
+ clearInterval(timer);
747
+ embed_document(root);
748
+ } else {
749
+ attempts++;
750
+ if (attempts > 100) {
751
+ clearInterval(timer);
752
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
753
+ }
754
+ }
755
+ }, 10, root)
756
+ }
757
+ })(window);
758
+ </script>
759
+ </div>
760
+
761
+ </div>
762
+
763
+ </div>
764
+ </div>
765
+
766
+ </div>
767
+