bokeh

Create interactive plots and web applications in Python

pipmacoslinuxwindows
Try with needOr install directly

About

Interactive plots and applications in the browser from Python

Commands

bokeh

Examples

start a bokeh server to run interactive dashboard$ bokeh serve myapp.py
generate static HTML file from bokeh plot$ bokeh json myplot.py
create interactive scatter plot with hover tooltips$ python3 -c "from bokeh.plotting import figure, output_file, show; p = figure(); p.circle([1,2,3], [4,5,6]); output_file('plot.html'); show(p)"
build web application with interactive widgets and callbacks$ bokeh serve --show myapp.py --port 5007
embed bokeh plot inside existing HTML file$ python3 -c "from bokeh.embed import file_html; from bokeh.plotting import figure; from bokeh.resources import CDN; p = figure(); p.circle([1,2], [3,4]); print(file_html(p, CDN, 'plot'))"