What I am trying to do is create a Bokeh dashboard. That dashboard includes both plots and also text that is updated regularly.
Obviously with the plots there is no problem, I am making use of ColumnDataSources to update my data and everything is working really well.
However I can’t work out how to update the text in a Div widget. To be clear, it is not meant to be updated in response to a user interaction, rather I have a python loop that continuously “streams” new data that to display.
My apologies if this is really obvious to some, but I have spent a lot of time searching for this now and can’t seem to work out the answer. I thought maybe something could be done with a CustomJS callback but I am not sure how to get it to trigger, or how to pass data to it from python for that matter.