j1-template 2022.5.0 → 2022.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/attics/generator.html +5 -13
- data/_includes/themes/j1/procedures/global/date-german.proc +67 -0
- data/assets/data/banner.html +2 -2
- data/assets/data/menu.html +1 -1
- data/assets/data/mmenu.html +36 -36
- data/assets/themes/j1/adapter/js/attic.js +114 -62
- data/assets/themes/j1/adapter/js/cookieConsent.js +42 -25
- data/assets/themes/j1/adapter/js/mmenu.js +2 -2
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +28 -3
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +5 -5
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
- data/assets/themes/j1/modules/backstretch/js/v2.1.16/backstretch.js +1696 -0
- data/assets/themes/j1/modules/backstretch/js/v2.1.16/backstretch.min.js +20 -0
- data/assets/themes/j1/modules/backstretch/js/v2.1.18/backstretch.js +1627 -0
- data/assets/themes/j1/modules/backstretch/js/v2.1.18/backstretch.min.js +20 -0
- data/assets/themes/j1/modules/mmenuLight/README.md +22 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.css +224 -243
- data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +3 -3
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +95 -55
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +57 -440
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +4 -15
- data/assets/themes/j1/modules/{twemoji/js/picker → themeSwitcher}/LICENSE +21 -21
- data/assets/themes/j1/modules/themeSwitcher/README.md +166 -0
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +2 -2
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/README.md +440 -175
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_data/modules/attics.yml +12 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +16 -1
- data/lib/starter_web/_data/modules/defaults/cookies.yml +1 -1
- data/lib/starter_web/_data/modules/navigator_menu.yml +28 -25
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/1920x1280/ben-kolde.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/braden-collum.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/ev.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/firmbee-com.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/max-harlynking.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/guillaume-bolduc-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/spacex-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/videos/headers/{still → present_videos/still}/underground-broadway.jpg +0 -0
- data/lib/starter_web/assets/videos/headers/present_videos/underground-broadway.mp4 +0 -0
- data/lib/starter_web/collections/asciidoc_skeletons/simple-post/_posts/yyyy-mm-dd-your-post-name.asciidoc +3 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +3 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +2 -3
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +3 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +3 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +3 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +3 -0
- data/lib/starter_web/index.html +68 -12
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/about/features.adoc +119 -0
- data/lib/starter_web/pages/public/about/reporting_issues.adoc +5 -1
- data/lib/starter_web/pages/public/about/{about_site.adoc → site.adoc} +20 -15
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +3 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +4 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +4 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +4 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +4 -1
- data/lib/starter_web/pages/public/features/general.adoc +5 -1
- data/lib/starter_web/pages/public/features/template.adoc +4 -0
- data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-circular-times-table.adoc +3 -0
- data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-common-used-widgets.adoc +3 -0
- data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-odes-in-python.adoc +3 -0
- data/lib/starter_web/pages/public/jupyter/examples/localized/j1_climate-change-forecast.adoc +3 -0
- data/lib/starter_web/pages/public/learn/quickstart.adoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +16 -5
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +3 -0
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +3 -0
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +3 -0
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +3 -0
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +3 -0
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +3 -0
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +6 -2
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +3 -0
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +3 -0
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +3 -0
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +142 -0
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +3 -0
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +9 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +10 -2
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +66 -3
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +3 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +3 -0
- data/lib/starter_web/pages/public/plans/plans.adoc +3 -0
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +4 -0
- data/lib/starter_web/pages/public/se/se-fake.adoc +4 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +21 -372
- data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +0 -153
- data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +0 -19
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +0 -304
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +0 -322
- data/assets/themes/j1/modules/twemoji/js/twemoji.js +0 -580
- data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +0 -19
- data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.jpg +0 -0
- data/lib/starter_web/pages/public/_jupyter/docs/_includes/attributes.asciidoc +0 -67
- data/lib/starter_web/pages/public/_jupyter/docs/_includes/documents/j1_docs_example_static.asciidoc +0 -232
- data/lib/starter_web/pages/public/_jupyter/docs/binderhub.adoc +0 -631
- data/lib/starter_web/pages/public/_jupyter/docs/j1-nbinteract.adoc +0 -638
- data/lib/starter_web/pages/public/_jupyter/docs/jupyterhub.adoc +0 -248
- data/lib/starter_web/pages/public/_jupyter/docs/nbinteract-widget-manual.adoc +0 -928
- data/lib/starter_web/pages/public/_jupyter/examples/distributed/j1-circular-times-table.adoc +0 -139
- data/lib/starter_web/pages/public/_jupyter/examples/distributed/j1-common-used-widgets.adoc +0 -229
- data/lib/starter_web/pages/public/_jupyter/examples/distributed/j1-odes-in-python.adoc +0 -112
- data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-altair/j1-altair-visualisations.adoc +0 -142
- data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-bokeh/j1-bokeh-visualisations.adoc +0 -171
- data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-bokeh/j1-bqplot-eamples.adoc +0 -111
- data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-plotly/j1-plotly-visualisations.adoc +0 -94
- data/lib/starter_web/pages/public/_jupyter/examples/localized/j1_climate-change-forecast.adoc +0 -106
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +0 -16260
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_bgplot_line_plot-checkpoint.ipynb +0 -247
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-Copy1-checkpoint.ipynb +0 -12382
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-checkpoint.ipynb +0 -12387
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-short-checkpoint.ipynb +0 -12170
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +0 -1058
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb +0 -14478
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-Copy1-checkpoint.ipynb +0 -379
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +0 -442
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets-checkpoint.ipynb +0 -523
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets.line_charts-checkpoint.ipynb +0 -84
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets.questions-checkpoint.ipynb +0 -194
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_chart-checkpoint.ipynb +0 -89
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_charts-Copy1-checkpoint.ipynb +0 -164
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_charts-checkpoint.ipynb +0 -173
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_charts.1-checkpoint.ipynb +0 -256
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_barcharts-checkpoint.ipynb +0 -126
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_hist_chart-checkpoint.ipynb +0 -87
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_line_chart-checkpoint.ipynb +0 -90
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_line_charts-checkpoint.ipynb +0 -87
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_question_multiple_choice-checkpoint.ipynb +0 -64
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_question_short_answer-checkpoint.ipynb +0 -122
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_questions-checkpoint.ipynb +0 -181
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_scatter_chart-checkpoint.ipynb +0 -89
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_scatter_charts-checkpoint.ipynb +0 -175
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_scatter_drag_chart-checkpoint.ipynb +0 -87
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_ode_selected-checkpoint.ipynb +0 -14478
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +0 -15227
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/factor_by_factor.mp4 +0 -0
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_circular_times_table.ipynb +0 -12382
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_climate_change_forecast.ipynb +0 -1058
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_docs_example_dynamic.ipynb +0 -14478
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_interactive_widgets.ipynb +0 -442
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets.ipynb +0 -523
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_bar_chart.ipynb +0 -89
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_hist_chart.ipynb +0 -87
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_line_chart.ipynb +0 -90
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_question_multiple_choice.ipynb +0 -64
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_question_short_answer.ipynb +0 -122
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_scatter_chart.ipynb +0 -89
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_scatter_drag_chart.ipynb +0 -87
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_odes_in_python.ipynb +0 -15227
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/line_by_line.mp4 +0 -0
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1/point_by_point.mp4 +0 -0
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +0 -16296
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/.ipynb_checkpoints/j1_altair_non_interactive-checkpoint.ipynb +0 -15385
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/j1_altair_interactive.ipynb +0 -16296
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/j1_altair_non_interactive.ipynb +0 -15385
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/00 - Introduction and Setup-checkpoint.ipynb +0 -717
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/01 - Basic Plotting-checkpoint.ipynb +0 -1381
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/02 - Styling and Theming-checkpoint.ipynb +0 -1440
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/03 - Data Sources and Transformations-checkpoint.ipynb +0 -927
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/04 - Adding Annotations-checkpoint.ipynb +0 -1105
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/05 - Presentation Layouts-checkpoint.ipynb +0 -578
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/06 - Linking and Interactions-checkpoint.ipynb +0 -1196
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/07 - Bar and Categorical Data Plots-checkpoint.ipynb +0 -1681
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/08 - Graph and Network Plots-checkpoint.ipynb +0 -680
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/09 - Geographic Plots-checkpoint.ipynb +0 -693
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/10 - Exporting and Embedding-checkpoint.ipynb +0 -751
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/11 - Running Bokeh Applications-checkpoint.ipynb +0 -770
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/bokeh_tut_00_introduction_and_setup-checkpoint.ipynb +0 -666
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_01_basic_plotting-checkpoint.ipynb +0 -1365
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_02_styling_and_theming-checkpoint.ipynb +0 -1405
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_03_data_sources_and_transformations-checkpoint.ipynb +0 -856
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_04_adding_annotations-checkpoint.ipynb +0 -1167
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_05_presentation_layouts-checkpoint.ipynb +0 -601
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_06_linking_and_interactions-checkpoint.ipynb +0 -1356
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_07_bar_and_categorical_data_plots-checkpoint.ipynb +0 -1742
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_08_graph_and_network_plots-checkpoint.ipynb +0 -625
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_09_geographic_plots-checkpoint.ipynb +0 -685
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_10_exporting_and_embedding-checkpoint.ipynb +0 -726
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_10_exporting_and_embedding-checkpoint.org +0 -726
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_10_exporting_and_embedding.new-checkpoint.ipynb +0 -560
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_11_running_bokeh_applications-checkpoint.ipynb +0 -716
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_01_basic_plotting.ipynb +0 -1365
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_02_styling_and_theming.ipynb +0 -1405
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_03_data_sources_and_transformations.ipynb +0 -856
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_04_adding_annotations.ipynb +0 -1167
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_05_presentation_layouts.ipynb +0 -601
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_06_linking_and_interactions.ipynb +0 -1356
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_07_bar_and_categorical_data_plots.ipynb +0 -1742
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_08_graph_and_network_plots.ipynb +0 -625
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_09_geographic_plots.ipynb +0 -685
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/.ipynb_checkpoints/j1_mathplot_vs_bqplot-checkpoint.ipynb +0 -336
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/advanced/Feature_Vector_Distribution-Iris-Digits.ipynb +0 -433
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/j1_bgplot_line_plot.ipynb +0 -244
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/j1_circular_times_table-short.ipynb +0 -12170
- data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/j1_mathplot_vs_bqplot.ipynb +0 -336
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/.ipynb_checkpoints/Index-checkpoint.ipynb +0 -163
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/.ipynb_checkpoints/Tutorials-checkpoint.ipynb +0 -51
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Advanced Plotting.ipynb +0 -289
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Animations.ipynb +0 -266
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Axis Properties.ipynb +0 -396
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Plotting Dates.ipynb +0 -318
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Equity Index Performance/Time Series.ipynb +0 -158
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Equity Index Performance/spx_prices.csv +0 -6799
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Feature_Vector_Distribution-Iris-Digits.ipynb +0 -470
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Index.ipynb +0 -49
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Logs Analytics/Logs Dashboard.ipynb +0 -378
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Mobile Patent Suits.ipynb +0 -123
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Neural Network.ipynb +0 -177
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Outlier Detection.ipynb +0 -311
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/Bubble Chart.ipynb +0 -255
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/Choropleth.ipynb +0 -275
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/nations.json +0 -1
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/world_map_codes.csv +0 -234
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/.ipynb_checkpoints/Basic Plotting-checkpoint.ipynb +0 -186
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/.ipynb_checkpoints/Pyplot-checkpoint.ipynb +0 -794
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/.ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -323
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/Basic Plotting.ipynb +0 -261
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/Pyplot.ipynb +0 -1489
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Index.ipynb +0 -163
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Interactions/Interaction Layer.ipynb +0 -966
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Interactions/Mark Interactions.ipynb +0 -476
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Interactions/Selectors.ipynb +0 -427
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Introduction.ipynb +0 -528
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Bars.ipynb +0 -480
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Bins.ipynb +0 -217
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Boxplot.ipynb +0 -253
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Candles.ipynb +0 -225
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/FlexLine.ipynb +0 -123
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Graph.ipynb +0 -357
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/GridHeatMap.ipynb +0 -422
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/HeatMap.ipynb +0 -157
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Hist.ipynb +0 -176
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Image.ipynb +0 -195
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Label.ipynb +0 -189
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Lines.ipynb +0 -565
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Map.ipynb +0 -182
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Market Map.ipynb +0 -315
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Pie.ipynb +0 -465
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Scatter.ipynb +0 -835
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Bars.ipynb +0 -362
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Bins.ipynb +0 -252
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Boxplot.ipynb +0 -273
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Candles.ipynb +0 -242
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/GridHeatMap.ipynb +0 -417
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/HeatMap.ipynb +0 -155
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Hist.ipynb +0 -238
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Image.ipynb +0 -152
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Label.ipynb +0 -206
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Lines.ipynb +0 -474
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Map.ipynb +0 -181
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Pie.ipynb +0 -310
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Scatter.ipynb +0 -702
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Scales/Color Scales.ipynb +0 -495
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Feature_Vector_Distribution-Iris-Digits-checkpoint.ipynb +0 -433
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Linking Plots With Widgets-checkpoint.ipynb +0 -326
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Updating Plots-Copy1-checkpoint.ipynb +0 -177
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Updating Plots-checkpoint.ipynb +0 -177
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Brush Interval Selector.ipynb +0 -154
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Fast Interval Selector.ipynb +0 -152
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Gaussian Density Widget.ipynb +0 -128
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Gaussian Density.ipynb +0 -113
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Linking Plots With Widgets.ipynb +0 -326
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Object Model.ipynb +0 -179
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Pyplot.ipynb +0 -174
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Updating Plots.ipynb +0 -177
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials.ipynb +0 -51
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/country_codes.csv +0 -213
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/gdp_per_capita.csv +0 -56
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/state_codes.csv +0 -52
- data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/trees.jpg +0 -0
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_central_limit_theorem-checkpoint.ipynb +0 -247
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +0 -323
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +0 -387
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_interactive_questions-checkpoint.ipynb +0 -185
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +0 -384
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_interact-checkpoint.ipynb +0 -254
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_monty_hall-checkpoint.ipynb +0 -732
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_central_limit_theorem.ipynb +0 -247
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_correlation.ipynb +0 -651
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_empirical_distributions.ipynb +0 -773
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_linear_regression.ipynb +0 -111
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_probability_distribution_plots.ipynb +0 -199
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_sampling_from_a_population.ipynb +0 -421
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_variability_of_the_sample_mean.ipynb +0 -323
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_recipes_graphing.ipynb +0 -387
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_recipes_interactive_questions.ipynb +0 -185
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_recipes_layout.ipynb +0 -384
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_tutorial_interact.ipynb +0 -254
- data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_tutorial_monty_hall.ipynb +0 -732
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Advanced Plotting.html +0 -373
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Animations.html +0 -361
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Axis Properties.html +0 -569
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Bars.html +0 -487
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Basic Plotting.html +0 -341
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Bins.html +0 -259
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Boxplot.html +0 -277
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Brush Interval Selector.html +0 -182
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Bubble Chart.html +0 -299
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Candles.html +0 -252
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Choropleth.html +0 -318
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Color Scales.html +0 -514
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Fast Interval Selector.html +0 -182
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Feature_Vector_Distribution-Iris-Digits.html +0 -479
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/FlexLine.html +0 -128
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Gaussian Density Widget.html +0 -152
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Gaussian Density.html +0 -137
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Graph.html +0 -484
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/GridHeatMap.html +0 -483
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/HeatMap.html +0 -170
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Hist.html +0 -349
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Image.html +0 -177
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Index.html +0 -29
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Interaction Layer.html +0 -1372
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Introduction.html +0 -749
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Label.html +0 -268
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Lines.html +0 -704
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Linking Plots With Widgets.html +0 -389
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Logs Dashboard.html +0 -455
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Map.html +0 -229
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Mark Interactions.html +0 -613
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Market Map.html +0 -413
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Mobile Patent Suits.html +0 -131
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Neural Network.html +0 -190
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Object Model.html +0 -193
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Outlier Detection.html +0 -363
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Pie.html +0 -367
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Plotting Dates.html +0 -337
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Pyplot.html +0 -196
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Scatter.html +0 -948
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Selectors.html +0 -489
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Time Series.html +0 -173
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Tutorials.html +0 -40
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Updating Plots.html +0 -228
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_altair_interactive.html +0 -2216
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_altair_non_interactive.html +0 -1170
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bgplot_line_plot.html +0 -318
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_01_basic_plotting.html +0 -1479
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_02_styling_and_theming.html +0 -1524
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_03_data_sources_and_transformations.html +0 -983
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_04_adding_annotations.html +0 -1280
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_05_presentation_layouts.html +0 -660
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_06_linking_and_interactions.html +0 -1563
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_07_bar_and_categorical_data_plots.html +0 -1888
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_08_graph_and_network_plots.html +0 -689
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_09_geographic_plots.html +0 -767
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_circular_times_table-short.html +0 -475
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_circular_times_table.html +0 -747
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_climate_change_forecast.html +0 -1250
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +0 -186
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_interactive_widgets.html +0 -512
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_mathplot_vs_bqplot.html +0 -407
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets.html +0 -629
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +0 -95
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +0 -93
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +0 -96
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +0 -70
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +0 -156
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +0 -95
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +0 -93
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_odes_in_python.html +0 -955
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_central_limit_theorem.html +0 -290
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_correlation.html +0 -818
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_empirical_distributions.html +0 -351
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_linear_regression.html +0 -106
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_probability_distribution_plots.html +0 -228
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_sampling_from_a_population.html +0 -518
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_variability_of_the_sample_mean.html +0 -372
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_recipes_graphing.html +0 -473
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +0 -242
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_recipes_layout.html +0 -496
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_tutorial_interact.html +0 -329
- data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_tutorial_monty_hall.html +0 -866
- data/lib/starter_web/pages/public/_jupyter/where_to_go.adoc +0 -270
- data/lib/starter_web/pages/public/learn/_roundtrip/100_present_images.adoc +0 -313
- data/lib/starter_web/pages/public/learn/_roundtrip/100_present_videos.adoc +0 -281
- data/lib/starter_web/pages/public/learn/_roundtrip/200_typography.adoc +0 -253
- data/lib/starter_web/pages/public/learn/_roundtrip/300_icon_fonts.adoc +0 -579
- data/lib/starter_web/pages/public/learn/_roundtrip/400_asciidoc_extensions.adoc +0 -718
- data/lib/starter_web/pages/public/learn/_roundtrip/410_bs_modals_extentions.adoc +0 -91
- data/lib/starter_web/pages/public/learn/_roundtrip/420_responsive_tables_extensions.adoc +0 -420
- data/lib/starter_web/pages/public/learn/_roundtrip/500_themes.adoc +0 -250
- data/lib/starter_web/pages/public/learn/_roundtrip/600_quicksearch.adoc +0 -425
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/attributes.asciidoc +0 -118
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/100_gistblock.asciidoc +0 -28
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_info.asciidoc +0 -14
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/google-ad.js +0 -130
@@ -1,928 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: J1 NBI
|
3
|
-
tagline: nbinteract widgets
|
4
|
-
date: 2022-03-28 00:00:00
|
5
|
-
description: >
|
6
|
-
The package nbinteract aims to enable authors and educators to create and
|
7
|
-
share interactive web pages easily. Interactive explanations of concepts are
|
8
|
-
useful for communicating and explaining tricky concepts.
|
9
|
-
keywords: >
|
10
|
-
opensource, free, load, download, start, starter, example,
|
11
|
-
high, easy, use, secure, encrypt, standard, popular,
|
12
|
-
generate, create, learn, distribute, publish, deploy,
|
13
|
-
beginner, advanced, expert, student, learner, educator,
|
14
|
-
writer, reader, visitor,
|
15
|
-
framework, toolkit, integration, extension, module, api,
|
16
|
-
dynamic, static, generator, client, server, internet, local, localhost,
|
17
|
-
page, web, website, webdesign, material, design, responsive,
|
18
|
-
javascript, nodejs, ruby, windows, linux, osx, mac, os,
|
19
|
-
http, https, html, html5, css, scss, style,
|
20
|
-
browser, firefox, chrome, edge, opera, safari,
|
21
|
-
configuration, generator, navigation, menu, dropdown, fab, action, button,
|
22
|
-
application, interface, provider, api, repository,
|
23
|
-
cookie, language, translation, gdpr, dsgvo, privacy,
|
24
|
-
asciidoc, aciidoctor, bootstrap, jekyll, liquid,
|
25
|
-
hyvor, disqus, git, github, netlify, heroku, apple, microsoft,
|
26
|
-
provider, service, internet, support,
|
27
|
-
google, analytics, advertising, search, console, silverlight, score,
|
28
|
-
j1, nbi, j1-nbinteract, nbinteract, template, integration,
|
29
|
-
python, jupyter, notebook, textbook, api, app,
|
30
|
-
binder, binderhub, jupyterhub
|
31
|
-
|
32
|
-
categories: [ Software, Python ]
|
33
|
-
tags: [ Binder, API ]
|
34
|
-
|
35
|
-
scrollbar: false
|
36
|
-
|
37
|
-
permalink: /pages/public/jupyter/docs/nbi-widgets/
|
38
|
-
regenerate: false
|
39
|
-
|
40
|
-
resources: [ animate, clipboard, lightbox, rouge ]
|
41
|
-
resource_options:
|
42
|
-
- attic:
|
43
|
-
slides:
|
44
|
-
- url: /assets/images/modules/attics/yellow-cactus-1920x1280.jpg
|
45
|
-
alt: Photo by Yellow Cactus on Unsplash
|
46
|
-
badge:
|
47
|
-
type: unsplash
|
48
|
-
author: Yellow Cactus
|
49
|
-
href: https://unsplash.com/@yellowcactus
|
50
|
-
---
|
51
|
-
|
52
|
-
// Page Initializer
|
53
|
-
// =============================================================================
|
54
|
-
// Enable the Liquid Preprocessor
|
55
|
-
:page-liquid:
|
56
|
-
|
57
|
-
// Set (local) page attributes here
|
58
|
-
// -----------------------------------------------------------------------------
|
59
|
-
// :page--attr: <attr-value>
|
60
|
-
:badges-enabled: false
|
61
|
-
:binder-badges-enabled: false
|
62
|
-
:binder--home: https://mybinder.org/
|
63
|
-
:binder--docs: https://mybinder.readthedocs.io/en/latest/
|
64
|
-
:binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
|
65
|
-
:binder-app-launch--lab: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main
|
66
|
-
|
67
|
-
// Load Liquid procedures
|
68
|
-
// -----------------------------------------------------------------------------
|
69
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
70
|
-
|
71
|
-
// Load page attributes
|
72
|
-
// -----------------------------------------------------------------------------
|
73
|
-
{% include {{load_attributes}} scope="all" %}
|
74
|
-
|
75
|
-
|
76
|
-
// Page content
|
77
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
78
|
-
ifeval::[{binder-badges-enabled} == true]
|
79
|
-
image:/assets/images/badges/myBinder.png[[Binder, link="{binder--home}", {browser-window--new}]
|
80
|
-
image:/assets/images/badges/docsBinder.png[[Binder, link="{binder--docs}", {browser-window--new}]
|
81
|
-
endif::[]
|
82
|
-
|
83
|
-
|
84
|
-
// Include sub-documents (if any)
|
85
|
-
// -----------------------------------------------------------------------------
|
86
|
-
|
87
|
-
The package at Github link:{url-j1-repo--j1-nbinteract}[j1-nbinteract, {browser-window--new}]
|
88
|
-
aims to enable authors and educators to create and share interactive web pages
|
89
|
-
easily. Interactive explanations of concepts are useful for communicating and
|
90
|
-
explaining complex concepts better. The package *j1-nbinteract* comes with a
|
91
|
-
set of backend functions that produce Javascript-based plots designed for
|
92
|
-
interaction. The package combines the _ipywidgets_ library and the _bqplot_
|
93
|
-
plotting library to implement function-driven interfaces for interactive
|
94
|
-
plotting.
|
95
|
-
|
96
|
-
CAUTION: The current version of j1-nbinteract *1.x* is limited to Notebook v6
|
97
|
-
(Classic Notebook). The latest version Jupyter Notebook v7 (JupyterLab) are
|
98
|
-
supported by upcoming versions of j1-nbinteract *2.x*.
|
99
|
-
|
100
|
-
The j1-nbinteract plotting methods use _ipywidgets_ to generate and display
|
101
|
-
widgets, inferring the widget type automatically as needed. When a user
|
102
|
-
interacts with a widget, a Python callback updates the visualization *without*
|
103
|
-
a complete rerender. This noticeably lowers visualization update time compared
|
104
|
-
to using ipywidgets for other plotting libraries that render *static images*.
|
105
|
-
|
106
|
-
== Histogram
|
107
|
-
|
108
|
-
The widget `nbinteract.hist` generates an interactive histogram that allows
|
109
|
-
users to change the parameters of the input hist_function.
|
110
|
-
|
111
|
-
=== Example
|
112
|
-
|
113
|
-
[source, python, role="noclip"]
|
114
|
-
----
|
115
|
-
def hist_function(mean, sd, size=1000):
|
116
|
-
'''
|
117
|
-
Returns 1000 values picked at random from the normal
|
118
|
-
distribution with the Mean value and SD given.
|
119
|
-
'''
|
120
|
-
return np.random.normal(loc=mean, scale=sd, size=1000)
|
121
|
-
|
122
|
-
|
123
|
-
options = {
|
124
|
-
'title': 'Histogram',
|
125
|
-
'xlabel': 'Mean value (mean)',
|
126
|
-
'ylabel': 'Standard Deviation (sd)',
|
127
|
-
'bins': 10
|
128
|
-
}
|
129
|
-
|
130
|
-
layouts = {
|
131
|
-
'plot_height': '480px',
|
132
|
-
'plot_width': '800px',
|
133
|
-
}
|
134
|
-
|
135
|
-
hist_chart = nbi.hist(
|
136
|
-
hist_function,
|
137
|
-
mean=(0, 10),
|
138
|
-
sd=(0.2, 2.0, 0.2),
|
139
|
-
options=options,
|
140
|
-
layouts=layouts
|
141
|
-
)
|
142
|
-
|
143
|
-
hist_chart
|
144
|
-
----
|
145
|
-
|
146
|
-
=== Rendered Histogram
|
147
|
-
|
148
|
-
lightbox::nbi-widget--hist[1280, {image-nbi-widget--hist}, role="mt-3 mb-4"]
|
149
|
-
|
150
|
-
TIP: Find an live example on page:
|
151
|
-
link:{url-nbinteract-common-widget--histogram}[Common used widgets -- Histogram, {browser-window--new}].
|
152
|
-
|
153
|
-
=== Synopsis
|
154
|
-
|
155
|
-
[source, python, role="noclip"]
|
156
|
-
----
|
157
|
-
nbinteract.hist(
|
158
|
-
hist_function,
|
159
|
-
*, <1>
|
160
|
-
options={},
|
161
|
-
layouts={},
|
162
|
-
**interact_params
|
163
|
-
)
|
164
|
-
----
|
165
|
-
<1> arbitrary variables to control the `hist_function`
|
166
|
-
|
167
|
-
=== Options
|
168
|
-
|
169
|
-
[source, python, role="noclip"]
|
170
|
-
----
|
171
|
-
hist_function (Array | (*args -> Array int | Array float)):
|
172
|
-
Function that takes in parameters to interact with and returns an
|
173
|
-
array of numbers. These numbers will be plotted in the resulting
|
174
|
-
histogram.
|
175
|
-
----
|
176
|
-
|
177
|
-
[source, python, role="noclip"]
|
178
|
-
----
|
179
|
-
interact_params (dict):
|
180
|
-
Keyword arguments in the same format as `ipywidgets.interact`.
|
181
|
-
One parameter is required for each argument of both `x_fn` and `y_fn`.
|
182
|
-
If `x_fn` and `y_fn` have conflicting parameter names, prefix the
|
183
|
-
corresponding kwargs with `x__` and
|
184
|
-
`y__`.
|
185
|
-
----
|
186
|
-
|
187
|
-
.Available options (Python dict)
|
188
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
189
|
-
|===
|
190
|
-
|Name |Value |Description
|
191
|
-
|
192
|
-
|`title`
|
193
|
-
|empty string
|
194
|
-
|Title of the plot
|
195
|
-
|
196
|
-
|`aspect_ratio`
|
197
|
-
|float
|
198
|
-
|Aspect ratio of the figure, defaults 16:9 ratio
|
199
|
-
|
200
|
-
|`animation_duration`
|
201
|
-
|int
|
202
|
-
|Duration of transition on change of the data measured in milliseconds
|
203
|
-
|
204
|
-
|`xlabel`
|
205
|
-
|empty string
|
206
|
-
|Label of the x-axis
|
207
|
-
|
208
|
-
|`ylabel`
|
209
|
-
|empty string
|
210
|
-
|Label of the y-axis
|
211
|
-
|
212
|
-
|`xlim`
|
213
|
-
|Tuple
|
214
|
-
|Contains the (lower, upper) values for x-axis
|
215
|
-
|
216
|
-
|`ylim`
|
217
|
-
|Tuple
|
218
|
-
|Contains the (lower, upper) values for y-axis
|
219
|
-
|
220
|
-
|`bins`
|
221
|
-
|int (positive)
|
222
|
-
|Non-negative int for the number of Towers (bars) generated for the
|
223
|
-
histogram. Default: 10
|
224
|
-
|
225
|
-
|`normalized`
|
226
|
-
|Boolean (True\|False)
|
227
|
-
|Normalize histogram area to 1 if `True`. If `False`, plots unmodified
|
228
|
-
counts. Default: `True`
|
229
|
-
|
230
|
-
|===
|
231
|
-
|
232
|
-
.Available layout settings (Python dict)
|
233
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
234
|
-
|===
|
235
|
-
|Name |Value |Description
|
236
|
-
|
237
|
-
|`plot_height`
|
238
|
-
|string
|
239
|
-
|Specifies the `height` of the plot measured in pixels (px).
|
240
|
-
Default: 400px
|
241
|
-
|
242
|
-
|`plot_width`
|
243
|
-
|string
|
244
|
-
|Specifies the `width` of the plot measured in pixels (px).
|
245
|
-
Default: 640px
|
246
|
-
|
247
|
-
|===
|
248
|
-
|
249
|
-
== Bar chart
|
250
|
-
|
251
|
-
The widget `nbinteract.bar` generates an interactive bar chart that allows
|
252
|
-
users to change the parameters of the inputs x_fn and y_fn.
|
253
|
-
|
254
|
-
=== Example
|
255
|
-
|
256
|
-
[source, python, role="noclip"]
|
257
|
-
----
|
258
|
-
import nbinteract as nbi
|
259
|
-
import numpy as np
|
260
|
-
|
261
|
-
def x_fn(n):
|
262
|
-
return np.arange(n)
|
263
|
-
|
264
|
-
def y_fn(xs, offset):
|
265
|
-
return xs + offset
|
266
|
-
|
267
|
-
|
268
|
-
options = {
|
269
|
-
'ylim': (0, 20),
|
270
|
-
}
|
271
|
-
|
272
|
-
layouts = {
|
273
|
-
'plot_height': '480px',
|
274
|
-
'plot_width': '800px',
|
275
|
-
}
|
276
|
-
|
277
|
-
bar_chart = nbi.bar(
|
278
|
-
x_fn,
|
279
|
-
y_fn,
|
280
|
-
n=(3, 10),
|
281
|
-
offset=(1, 10),
|
282
|
-
options=options,
|
283
|
-
layouts=layouts
|
284
|
-
)
|
285
|
-
# print("Barchart Dataset: ", bar_chart)
|
286
|
-
|
287
|
-
bar_chart
|
288
|
-
----
|
289
|
-
|
290
|
-
=== Rendered Bar chart
|
291
|
-
|
292
|
-
lightbox::nbi-widget--bar[1280, {image-nbi-widget--bar}, role="mt-3 mb-4"]
|
293
|
-
|
294
|
-
TIP: Find an live example on page:
|
295
|
-
link:{url-nbinteract-common-widget--barchart}[Common used widgets -- Barchart, {browser-window--new}].
|
296
|
-
|
297
|
-
=== Synopsis
|
298
|
-
|
299
|
-
[source, python, role="noclip"]
|
300
|
-
----
|
301
|
-
nbinteract.bar(
|
302
|
-
x_fn,
|
303
|
-
y_fn,
|
304
|
-
*, <1>
|
305
|
-
options={},
|
306
|
-
layouts={},
|
307
|
-
**interact_params
|
308
|
-
)
|
309
|
-
----
|
310
|
-
<1> arbitrary variables to control the functions `x_fn` and `y_fn`
|
311
|
-
|
312
|
-
=== Options
|
313
|
-
|
314
|
-
[source, python, role="noclip"]
|
315
|
-
----
|
316
|
-
x_fn (Array | (*args -> Array str | Array int | Array float)):
|
317
|
-
If array, uses array values for categories of bar chart.
|
318
|
-
|
319
|
-
If function, must take parameters to interact with and return an
|
320
|
-
array of strings or numbers. These will become the categories on
|
321
|
-
the x-axis of the bar chart.
|
322
|
-
|
323
|
-
y_fn (Array | (Array, *args -> Array int | Array float)):
|
324
|
-
If array, uses array values for heights of bars.
|
325
|
-
|
326
|
-
If function, must take in the output of x_fn as its first parameter
|
327
|
-
and optionally other parameters to interact with. Must return an
|
328
|
-
array of numbers. These will become the heights of the bars on the
|
329
|
-
y-axis.
|
330
|
-
----
|
331
|
-
|
332
|
-
.Available options (Python dict)
|
333
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
334
|
-
|===
|
335
|
-
|Name |Value |Description
|
336
|
-
|
337
|
-
|`title`
|
338
|
-
|empty string
|
339
|
-
|Title of the plot
|
340
|
-
|
341
|
-
|`aspect_ratio`
|
342
|
-
|float
|
343
|
-
|Aspect ratio of the figure, defaults 16:9 ratio
|
344
|
-
|
345
|
-
|`animation_duration`
|
346
|
-
|int
|
347
|
-
|Duration of transition on change of the data measured in milliseconds
|
348
|
-
|
349
|
-
|`xlabel`
|
350
|
-
|empty string
|
351
|
-
|Label of the x-axis
|
352
|
-
|
353
|
-
|`ylabel`
|
354
|
-
|empty string
|
355
|
-
|Label of the y-axis
|
356
|
-
|
357
|
-
|`xlim`
|
358
|
-
|Tuple
|
359
|
-
|Contains the (lower, upper) values for x-axis
|
360
|
-
|
361
|
-
|`ylim`
|
362
|
-
|Tuple
|
363
|
-
|Contains the (lower, upper) values for y-axis
|
364
|
-
|
365
|
-
|===
|
366
|
-
|
367
|
-
.Available layout settings (Python dict)
|
368
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
369
|
-
|===
|
370
|
-
|Name |Value |Description
|
371
|
-
|
372
|
-
|`plot_height`
|
373
|
-
|string
|
374
|
-
|Specifies the `height` of the plot measured in pixels (px).
|
375
|
-
Default: 400px
|
376
|
-
|
377
|
-
|`plot_width`
|
378
|
-
|string
|
379
|
-
|Specifies the `width` of the plot measured in pixels (px).
|
380
|
-
Default: 640px
|
381
|
-
|
382
|
-
|===
|
383
|
-
|
384
|
-
|
385
|
-
== Interactive Scatter Chart
|
386
|
-
|
387
|
-
The widget `nbinteract.scatter_drag` generates an interactive scatter plot
|
388
|
-
with the best *fit line* plotted over the points. The points can be dragged
|
389
|
-
by the user and the line will automatically update.
|
390
|
-
|
391
|
-
=== Example
|
392
|
-
|
393
|
-
[source, python, role="noclip"]
|
394
|
-
----
|
395
|
-
import nbinteract as nbi
|
396
|
-
import numpy as np
|
397
|
-
from numpy import arange
|
398
|
-
|
399
|
-
x_points = np.arange(10)
|
400
|
-
y_points = np.arange(10) + np.random.rand(10)
|
401
|
-
|
402
|
-
|
403
|
-
options = {
|
404
|
-
'title': 'Interactive Scatter Plot',
|
405
|
-
'xlabel': 'x-values',
|
406
|
-
'ylabel': 'y-values',
|
407
|
-
'xlim': (0, 10),
|
408
|
-
'ylim': (0, 10),
|
409
|
-
'animation_duration': 1000
|
410
|
-
}
|
411
|
-
|
412
|
-
layouts = {
|
413
|
-
'plot_height': '480px',
|
414
|
-
'plot_width': '800px',
|
415
|
-
}
|
416
|
-
|
417
|
-
scatter_drag = nbi.scatter_drag(
|
418
|
-
x_points,
|
419
|
-
y_points,
|
420
|
-
options=options,
|
421
|
-
layouts=layouts
|
422
|
-
)
|
423
|
-
|
424
|
-
scatter_drag
|
425
|
-
----
|
426
|
-
|
427
|
-
=== Rendered Interactive Scatter Chart
|
428
|
-
|
429
|
-
lightbox::nbi-widget--scatter-drag[1280, {image-nbi-widget--scatter-drag}, role="mt-3 mb-4"]
|
430
|
-
|
431
|
-
|
432
|
-
TIP: Find an live example on page:
|
433
|
-
link:{url-nbinteract-common-widget--i_scatter}[Common used widgets -- Interactive Scatter Chart, {browser-window--new}].
|
434
|
-
|
435
|
-
|
436
|
-
=== Synopsis
|
437
|
-
|
438
|
-
[source, python, role="noclip"]
|
439
|
-
----
|
440
|
-
nbinteract.scatter_drag(
|
441
|
-
x_points: 'Array',
|
442
|
-
y_points: 'Array',
|
443
|
-
options={},
|
444
|
-
layouts={}
|
445
|
-
)
|
446
|
-
----
|
447
|
-
|
448
|
-
=== Options
|
449
|
-
|
450
|
-
[source, python, role="noclip"]
|
451
|
-
----
|
452
|
-
x_points (Array Number): x-values of points to plot
|
453
|
-
y_points (Array Number): y-values of points to plot
|
454
|
-
----
|
455
|
-
|
456
|
-
.Available options (Python dict)
|
457
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
458
|
-
|===
|
459
|
-
|Name |Value |Description
|
460
|
-
|
461
|
-
|`title`
|
462
|
-
|empty string
|
463
|
-
|Title of the plot
|
464
|
-
|
465
|
-
|`aspect_ratio`
|
466
|
-
|float
|
467
|
-
|Aspect ratio of the figure, defaults 16:9 ratio
|
468
|
-
|
469
|
-
|`animation_duration`
|
470
|
-
|int
|
471
|
-
|Duration of transition on change of the data measured in milliseconds
|
472
|
-
|
473
|
-
|`xlabel`
|
474
|
-
|empty string
|
475
|
-
|Label of the x-axis
|
476
|
-
|
477
|
-
|`ylabel`
|
478
|
-
|empty string
|
479
|
-
|Label of the y-axis
|
480
|
-
|
481
|
-
|`xlim`
|
482
|
-
|Tuple
|
483
|
-
|Contains the (lower, upper) values for x-axis
|
484
|
-
|
485
|
-
|`ylim`
|
486
|
-
|Tuple
|
487
|
-
|Contains the (lower, upper) values for y-axis
|
488
|
-
|
489
|
-
|===
|
490
|
-
|
491
|
-
.Available layout settings (Python dict)
|
492
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
493
|
-
|===
|
494
|
-
|Name |Value |Description
|
495
|
-
|
496
|
-
|`plot_height`
|
497
|
-
|string
|
498
|
-
|Specifies the `height` of the plot measured in pixels (px).
|
499
|
-
Default: 400px
|
500
|
-
|
501
|
-
|`plot_width`
|
502
|
-
|string
|
503
|
-
|Specifies the `width` of the plot measured in pixels (px).
|
504
|
-
Default: 640px
|
505
|
-
|
506
|
-
|===
|
507
|
-
|
508
|
-
|
509
|
-
== Scatter Chart
|
510
|
-
|
511
|
-
The widget `nbinteract.scatter` generates an interactive scatter chart that
|
512
|
-
allows users to change the parameters of the inputs x_fn and y_fn.
|
513
|
-
|
514
|
-
=== Example
|
515
|
-
|
516
|
-
[source, python, role="noclip"]
|
517
|
-
----
|
518
|
-
def x_fn(n):
|
519
|
-
return np.random.choice(100, n)
|
520
|
-
|
521
|
-
def y_fn(xs):
|
522
|
-
return np.random.choice(100, len(xs))
|
523
|
-
|
524
|
-
|
525
|
-
options = {
|
526
|
-
'title': 'Scatter Plot',
|
527
|
-
'marker': 'circle',
|
528
|
-
'animation_duration': 1000,
|
529
|
-
'xlabel': 'x-values',
|
530
|
-
'ylabel': 'y-values',
|
531
|
-
'xlim': (0, 100),
|
532
|
-
'ylim': (0, 100)
|
533
|
-
}
|
534
|
-
|
535
|
-
layouts = {
|
536
|
-
'plot_height': '480px',
|
537
|
-
'plot_width': '800px',
|
538
|
-
}
|
539
|
-
|
540
|
-
scatter_chart = nbi.scatter(
|
541
|
-
x_fn,
|
542
|
-
y_fn,
|
543
|
-
n=(10,200),
|
544
|
-
options=options,
|
545
|
-
layouts=layouts
|
546
|
-
)
|
547
|
-
|
548
|
-
scatter_chart
|
549
|
-
----
|
550
|
-
|
551
|
-
=== Rendered Scatter Chart
|
552
|
-
|
553
|
-
lightbox::nbi-widget--scatter[1280, {image-nbi-widget--scatter}, role="mt-3 mb-4"]
|
554
|
-
|
555
|
-
TIP: Find an live example on page:
|
556
|
-
link:{url-nbinteract-common-widget--scatter}[Common used widgets -- Scatter Chart, {browser-window--new}].
|
557
|
-
|
558
|
-
|
559
|
-
=== Synopsis
|
560
|
-
|
561
|
-
[source, python, role="noclip"]
|
562
|
-
----
|
563
|
-
nbinteract.scatter(
|
564
|
-
x_fn,
|
565
|
-
y_fn,
|
566
|
-
*, <1>
|
567
|
-
options={},
|
568
|
-
layouts={},
|
569
|
-
**interact_params
|
570
|
-
)
|
571
|
-
----
|
572
|
-
<1> arbitrary variables to control the functions `x_fn` and `y_fn`
|
573
|
-
|
574
|
-
=== Options
|
575
|
-
|
576
|
-
[source, python, role="noclip"]
|
577
|
-
----
|
578
|
-
x_fn (Array | (*args -> Array str | Array int | Array float)):
|
579
|
-
If array, uses array values for x-coordinates.
|
580
|
-
|
581
|
-
If function, must take parameters to interact with and return an
|
582
|
-
array of strings or numbers. These will become the x-coordinates
|
583
|
-
of the scatter plot.
|
584
|
-
|
585
|
-
y_fn (Array | (Array, *args -> Array int | Array float)):
|
586
|
-
If array, uses array values for y-coordinates.
|
587
|
-
|
588
|
-
If function, must take in the output of x_fn as its first parameter
|
589
|
-
and optionally other parameters to interact with. Must return an
|
590
|
-
array of numbers. These will become the y-coordinates of the
|
591
|
-
scatter plot.
|
592
|
-
----
|
593
|
-
|
594
|
-
.Available options (Python dict)
|
595
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
596
|
-
|===
|
597
|
-
|Name |Value |Description
|
598
|
-
|
599
|
-
|`title`
|
600
|
-
|empty string
|
601
|
-
|Title of the plot
|
602
|
-
|
603
|
-
|`aspect_ratio`
|
604
|
-
|float
|
605
|
-
|Aspect ratio of the figure, defaults 16:9 ratio
|
606
|
-
|
607
|
-
|`animation_duration`
|
608
|
-
|int
|
609
|
-
|Duration of transition on change of the data measured in milliseconds
|
610
|
-
|
611
|
-
|`xlabel`
|
612
|
-
|empty string
|
613
|
-
|Label of the x-axis
|
614
|
-
|
615
|
-
|`ylabel`
|
616
|
-
|empty string
|
617
|
-
|Label of the y-axis
|
618
|
-
|
619
|
-
|`xlim`
|
620
|
-
|Tuple
|
621
|
-
|Contains the (lower, upper) values for x-axis
|
622
|
-
|
623
|
-
|`ylim`
|
624
|
-
|Tuple
|
625
|
-
|Contains the (lower, upper) values for y-axis
|
626
|
-
|
627
|
-
|`marker`
|
628
|
-
|`circle`\|`cross`\|`diamond`\|`square`\|`triangle-down`\|`triangle-up`\|`arrow`\|`rectangle`\|`ellipse`
|
629
|
-
|Shape of marker plots. Default: `circle`
|
630
|
-
|
631
|
-
|
632
|
-
|===
|
633
|
-
|
634
|
-
.Available layout settings (Python dict)
|
635
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
636
|
-
|===
|
637
|
-
|Name |Value |Description
|
638
|
-
|
639
|
-
|`plot_height`
|
640
|
-
|string
|
641
|
-
|Specifies the `height` of the plot measured in pixels (px).
|
642
|
-
Default: 400px
|
643
|
-
|
644
|
-
|`plot_width`
|
645
|
-
|string
|
646
|
-
|Specifies the `width` of the plot measured in pixels (px).
|
647
|
-
Default: 640px
|
648
|
-
|
649
|
-
|===
|
650
|
-
|
651
|
-
|
652
|
-
== Line Chart
|
653
|
-
|
654
|
-
Generates an interactive line chart that allows users to change the
|
655
|
-
parameters of the inputs `x_fn` and `y_fn`. The first two arguments of
|
656
|
-
`line` are *response functions* that return the x and y-axis coordinates.
|
657
|
-
|
658
|
-
Either argument can be *arrays* themselves. Arguments for the response
|
659
|
-
functions must be passed in as keyword arguments to line in the format
|
660
|
-
expected by interact. The response function for the y-coordinates will
|
661
|
-
be called with the x-coordinates as its first argument.
|
662
|
-
|
663
|
-
=== Example
|
664
|
-
|
665
|
-
[source, python, role="noclip"]
|
666
|
-
----
|
667
|
-
import nbinteract as nbi
|
668
|
-
import numpy as np
|
669
|
-
from numpy import arange
|
670
|
-
|
671
|
-
def x_fn(max):
|
672
|
-
return np.arange(0, max + 1)
|
673
|
-
|
674
|
-
def y_fn(xs, sd):
|
675
|
-
return xs + np.random.normal(0, scale=sd, size=len(xs))
|
676
|
-
|
677
|
-
|
678
|
-
options = {
|
679
|
-
'title': 'Line chart',
|
680
|
-
'xlabel': 'x-values (max)',
|
681
|
-
'ylabel': 'y-values (sd)',
|
682
|
-
'xlim': (0, 50),
|
683
|
-
'ylim': (-20, 70),
|
684
|
-
'animation_duration': 500
|
685
|
-
}
|
686
|
-
|
687
|
-
layouts = {
|
688
|
-
'plot_height': '480px',
|
689
|
-
'plot_width': '800px',
|
690
|
-
}
|
691
|
-
|
692
|
-
line_chart = nbi.line(
|
693
|
-
x_fn,
|
694
|
-
y_fn,
|
695
|
-
max=(10, 50),
|
696
|
-
sd=(0, 10),
|
697
|
-
options=options,
|
698
|
-
layouts=layouts
|
699
|
-
)
|
700
|
-
|
701
|
-
line_chart
|
702
|
-
----
|
703
|
-
|
704
|
-
=== Rendered Line Chart
|
705
|
-
|
706
|
-
lightbox::nbi-widget--line[1280, {image-nbi-widget--line}, role="mt-3 mb-4"]
|
707
|
-
|
708
|
-
TIP: Find an live example on page:
|
709
|
-
link:{url-nbinteract-common-widget--line}[Common used widgets -- Line Chart, {browser-window--new}].
|
710
|
-
|
711
|
-
|
712
|
-
=== Synopsis
|
713
|
-
|
714
|
-
[source, python, role="noclip"]
|
715
|
-
----
|
716
|
-
nbinteract.line(
|
717
|
-
x_fn,
|
718
|
-
y_fn,
|
719
|
-
*, <1>
|
720
|
-
options={},
|
721
|
-
layouts={},
|
722
|
-
**interact_params
|
723
|
-
)
|
724
|
-
----
|
725
|
-
<1> arbitrary variables to control the functions `x_fn` and `y_fn`
|
726
|
-
|
727
|
-
=== Options
|
728
|
-
|
729
|
-
[source, python, role="noclip"]
|
730
|
-
----
|
731
|
-
x_fn (Array | (*args -> Array str | Array int | Array float)):
|
732
|
-
If array, uses array values for x-coordinates.
|
733
|
-
|
734
|
-
If function, must take parameters to interact with and return an
|
735
|
-
array of strings or numbers. These will become the x-coordinates
|
736
|
-
of the line plot.
|
737
|
-
|
738
|
-
y_fn (Array | (Array, *args -> Array int | Array float)):
|
739
|
-
If array, uses array values for y-coordinates.
|
740
|
-
|
741
|
-
If function, must take in the output of x_fn as its first parameter
|
742
|
-
and optionally other parameters to interact with. Must return an
|
743
|
-
array of numbers. These will become the y-coordinates of the line
|
744
|
-
plot.
|
745
|
-
----
|
746
|
-
|
747
|
-
[source, python, role="noclip"]
|
748
|
-
----
|
749
|
-
interact_params (dict):
|
750
|
-
Keyword arguments in the same format as `ipywidgets.interact`.
|
751
|
-
One parameter is required for each argument of both `x_fn` and `y_fn`.
|
752
|
-
If `x_fn` and `y_fn` have conflicting parameter names, prefix the
|
753
|
-
corresponding kwargs with `x__` and `y__`
|
754
|
-
----
|
755
|
-
|
756
|
-
.Available options (Python dict)
|
757
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
758
|
-
|===
|
759
|
-
|Name |Value |Description
|
760
|
-
|
761
|
-
|`title`
|
762
|
-
|empty string
|
763
|
-
|Title of the plot
|
764
|
-
|
765
|
-
|`aspect_ratio`
|
766
|
-
|float
|
767
|
-
|Aspect ratio of the figure, defaults 16:9 ratio
|
768
|
-
|
769
|
-
|`animation_duration`
|
770
|
-
|int
|
771
|
-
|Duration of transition on change of the data measured in milliseconds
|
772
|
-
|
773
|
-
|`xlabel`
|
774
|
-
|empty string
|
775
|
-
|Label of the x-axis
|
776
|
-
|
777
|
-
|`ylabel`
|
778
|
-
|empty string
|
779
|
-
|Label of the y-axis
|
780
|
-
|
781
|
-
|`xlim`
|
782
|
-
|Tuple
|
783
|
-
|Contains the (lower, upper) values for x-axis
|
784
|
-
|
785
|
-
|`ylim`
|
786
|
-
|Tuple
|
787
|
-
|Contains the (lower, upper) values for y-axis
|
788
|
-
|
789
|
-
|===
|
790
|
-
|
791
|
-
.Available layout settings (Python dict)
|
792
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
793
|
-
|===
|
794
|
-
|Name |Value |Description
|
795
|
-
|
796
|
-
|`plot_height`
|
797
|
-
|string
|
798
|
-
|Specifies the `height` of the plot measured in pixels (px).
|
799
|
-
Default: 400px
|
800
|
-
|
801
|
-
|`plot_width`
|
802
|
-
|string
|
803
|
-
|Specifies the `width` of the plot measured in pixels (px).
|
804
|
-
Default: 640px
|
805
|
-
|
806
|
-
|===
|
807
|
-
|
808
|
-
== Multiple Choice
|
809
|
-
|
810
|
-
Generates a multiple choice question that allows the user to select an
|
811
|
-
answer choice and shows whether choice was correct.
|
812
|
-
|
813
|
-
=== Example
|
814
|
-
|
815
|
-
[source, python, role="noclip"]
|
816
|
-
----
|
817
|
-
import nbinteract as nbi
|
818
|
-
|
819
|
-
multiple_choice = nbi.multiple_choice(
|
820
|
-
question="Select all prime numbers.",
|
821
|
-
choices=['12', '3', '31'],
|
822
|
-
answers=[1, 2]
|
823
|
-
)
|
824
|
-
|
825
|
-
multiple_choice
|
826
|
-
----
|
827
|
-
|
828
|
-
=== Rendered Multiple Choice
|
829
|
-
|
830
|
-
lightbox::nbi-widget--multiple-choice[1280, {image-nbi-widget--multiple-choice}, role="mt-3 mb-4"]
|
831
|
-
|
832
|
-
TIP: Find an live example on page:
|
833
|
-
link:{url-nbinteract-common-widget--multiple_choice}[Common used widgets -- Multiple Choice, {browser-window--new}].
|
834
|
-
|
835
|
-
=== Synopsis
|
836
|
-
|
837
|
-
[source, python, role="noclip"]
|
838
|
-
----
|
839
|
-
nbinteract.multiple_choice(
|
840
|
-
question,
|
841
|
-
choices,
|
842
|
-
answers
|
843
|
-
)
|
844
|
-
----
|
845
|
-
|
846
|
-
=== Options
|
847
|
-
|
848
|
-
.Available options (Python dict)
|
849
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
850
|
-
|===
|
851
|
-
|Name |Value |Description
|
852
|
-
|
853
|
-
|`question`
|
854
|
-
|empty string
|
855
|
-
|Question text displayed above choices
|
856
|
-
|
857
|
-
|`choices`
|
858
|
-
|list (string)
|
859
|
-
|Answer choices that user can select
|
860
|
-
|
861
|
-
|`answers`
|
862
|
-
|int \| iterable int
|
863
|
-
|Either an integer or iterable of integers. Each integer in answers
|
864
|
-
corresponds to the index of the correct choice in `choices`
|
865
|
-
|
866
|
-
|===
|
867
|
-
|
868
|
-
|
869
|
-
== Short Answer
|
870
|
-
|
871
|
-
Generates a short answer question that allows user to input an answer in
|
872
|
-
a textbox and a submit button to check the answer.
|
873
|
-
|
874
|
-
=== Example
|
875
|
-
|
876
|
-
[source, python, role="noclip"]
|
877
|
-
----
|
878
|
-
import nbinteract as nbi
|
879
|
-
|
880
|
-
short_answer = nbi.short_answer(
|
881
|
-
'What is 1+1?',
|
882
|
-
answers='2',
|
883
|
-
explanation='1+1 is 2'
|
884
|
-
)
|
885
|
-
|
886
|
-
short_answer
|
887
|
-
----
|
888
|
-
|
889
|
-
=== Rendered Short Answer
|
890
|
-
|
891
|
-
lightbox::nbi-widget--short_answer[1280, {image-nbi-widget--short-answer}, role="mt-3 mb-4"]
|
892
|
-
|
893
|
-
TIP: Find an live examples on page:
|
894
|
-
link:{url-nbinteract-common-widget--short_answer}[Common used widgets -- Short Answer, {browser-window--new}].
|
895
|
-
|
896
|
-
=== Synopsis
|
897
|
-
|
898
|
-
[source, python, role="noclip"]
|
899
|
-
----
|
900
|
-
nbinteract.short_answer(
|
901
|
-
question,
|
902
|
-
answers,
|
903
|
-
explanation
|
904
|
-
)
|
905
|
-
----
|
906
|
-
|
907
|
-
=== Options
|
908
|
-
|
909
|
-
.Available options (Python dict)
|
910
|
-
[cols="^3a,^3a,^6a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
|
911
|
-
|===
|
912
|
-
|Name |Value |Description
|
913
|
-
|
914
|
-
|`question`
|
915
|
-
|empty string
|
916
|
-
|The question being asked
|
917
|
-
|
918
|
-
|`answers`
|
919
|
-
|int \| iterable int
|
920
|
-
|Either an integer or iterable of integers. Each integer in answers
|
921
|
-
corresponds to the index of the correct choice in `choices`
|
922
|
-
|
923
|
-
|`explanation`
|
924
|
-
|list (string)
|
925
|
-
|The explanation to the question is displayed if the user inputs the
|
926
|
-
correct answer. Default: `None`
|
927
|
-
|
928
|
-
|===
|