Problem presenting data that was updated after using bokeh tools (e.g Wheel Zoom) on embedded plot

Hello,

I’m embedding bokeh server in a flask web application, using the autoload_server method for different bokeh applications in that server.

The problem is that if i use the different bokeh tools (Pan, Wheel Zoom, Box Zoom) on a plot (in an embedded document), and afterwards update the data in columnDataSource of the plot by calling add_next_tick_callback,

the plot won’t present the updated data until i press the reset tool of the plot. is there a way to reset the plot programmatically, or any other solution to “refresh” the plot and present the updated data when it changes?

Thanks for your help!