I am using bokeh to embed a chart into an html template served by flask. I am using the autoload server method which returns a script which is then embedded into the html by the template renderer.
What I would like to do next is update the plot via a ajax type request, via a button click on hte same page, without necessarily having to replace the whole script which came along the first time the page loaded. It seems like it should be possible to just update the plot id or something similar so that the chart changes but without the brute force of replacing the whole script each time. Is this possible and how would it be done?
Thanks!