4 ms·
Bokeh supports streaming data to existing graphs. This lets you define a graph, display it in a browser, and then push updates from your code. This is a lot lig
by edraferi 9y ago
Bokeh supports streaming data to existing graphs. This lets you define a graph, display it in a browser, and then push updates from your code. This is a lot lighter than doing a full draw in matplotlib, plus works over the web.
Here's an intro blog post from 2013 [0] and a current tutorial [1]. This functionality depends on Bokeh Server, docs here [2]
[0] https://www.anaconda.com/developer-blog/painless-streaming-plots-bokeh/ https://www.anaconda.com/developer-blog/painless-streaming-p...
[1] http://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blob/master/tutorial/11%20-%20Running%20Bokeh%20Applictions.ipynb#Streaming-Data http://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blo...
[2] https://bokeh.pydata.org/en/latest/docs/user_guide/server.html https://bokeh.pydata.org/en/latest/docs/user_guide/server.ht...