====== Les bases de Bokeh, une librairie pour des visualisations interactives dans un navigateur web ====== * [[https://bokeh.pydata.org/en/latest/|page d'entrée sur Bokeh]] * [[https://bokeh.pydata.org/en/latest/docs/user_guide.html|User guide]] * [[https://bokeh.pydata.org/en/latest/docs/gallery.html|Galerie d'exemples]] * [[http://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blob/master/index.ipynb|Bokeh dans les Jupyter notebooks]] * [[https://mybinder.org/v2/gh/bokeh/bokeh-notebooks/master?filepath=tutorial%2F00%20-%20Introduction%20and%20Setup.ipynb|Bokeh tutorial in live Jupyter Notebooks]] * [[https://bokeh.pydata.org/en/latest/docs/reference.html|Reference guide]] * Réseaux sociaux : * [[https://twitter.com/BokehPlots|Twitter]] * [[https://github.com/bokeh/bokeh|GitHub]] * [[https://www.youtube.com/channel/UCK0rSk29mmg4UT4bIOvPYhw|Youtube]] Bokeh ne permet pas de créer des sorties graphiques vectorisées, ce qui en limite l'usage au web, au contraire de la librairie Matplotlib (notamment) ! ===== Exemples scientifiques ===== * [[https://demo.bokehplots.com/apps/sliders|Interactions sur la fonction sinus]] (amplitude, décalage vertical, fréquence, déphasage) + [[https://github.com/bokeh/bokeh/blob/master/examples/app/sliders.py|code source python]] - nécessite une exécution de code sur serveur * [[https://bokeh.pydata.org/en/latest/docs/gallery/slider.html|Interactions sur la fonction sinus]], version autonome avec fonction codée en Javascript * [[https://bokeh.pydata.org/en/latest/docs/gallery/legend.html]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/box_annotation.html|]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/streamline.html]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/histogram.html]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/lorenz.html]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/color_scatter.html]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/color_sliders.html]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/anscombe.html]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/burtin.html]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/logaxis.html]] * [[https://bokeh.pydata.org/en/latest/docs/gallery/periodic.html|tableau périodique des éléments]] * [[https://mendeleev.herokuapp.com/]] (version by Łukasz Mentel ) * [[https://bokeh.pydata.org/en/latest/docs/gallery/elements.html|Density vs Atomic Weight of Elements (colored by melting point)]] * [[https://towardsdatascience.com/beautiful-and-easy-plotting-in-python-pandas-bokeh-afa92d792167|Beautiful and Easy Plotting in Python — Pandas + Bokeh]] A single line of code to create an interactive plot from Pandas dataframe to Bokeh * [[https://docs.bokeh.org/en/latest/docs/gallery/lorenz.html|Attracteur de Lorenz]] * [[https://towardsdatascience.com/draw-beautiful-and-interactive-line-charts-using-bokeh-in-python-9f3e11e0a16e|Draw Beautiful and Interactive Line Charts Using Bokeh in Python]] * [[https://blog.bokeh.org/bokeh-2-4-6f8a842dfb4f|Bokeh 2.4. Bokeh 2.4 adds math text support, SVG…]] by Bokeh, Sep, Medium FIXME : ... * [[https://towardsdatascience.com/data-visualization-with-bokeh-in-python-part-one-getting-started-a11655a467d4|Data Visualization with Bokeh in Python, Part I: Getting Started - Elevate your visualization game]] * [[https://towardsdatascience.com/data-visualization-with-bokeh-in-python-part-ii-interactions-a4cf994e2512|Data Visualization with Bokeh in Python, Part II: Interactions - Moving beyond static plots]]