I have a streaming bokeh plot that I have embedded into a flask rendered HTML document. I used this repo as a guide for how to link up my flask server and my bokeh server. Now that I have the streaming plot online, I want to show some calculations on the streaming data beneath the plot (i.e. average point, differential, standard deviation) What is the best way to access the plot data source to do those calculations?
My googling shows that bokeh doesn't have a good way to put a text box in the embedded bokeh document, so that means I'd need to pull the data into the flask template somehow so I can manipulate it with jquery?
How would experienced coders start to approach the problem, or maybe someone knows a project that has tackled this issue I could take a look at? Thanks!