I’ve had good success modifying the columnDataSource for a plot and then calling push_notebook() to cause the new information to appear in the graph (running in a Jupyter python 3 notebook). However when I attempt the same approach with a Bokeh table, calling push_notebook() doesn’t cause the table to update. However, a subsequent call “show” will cause the table to display the updated information.
The example below illustrates the situation where I print the data that the source for the table showing that it now only contains two rows of data. However, even after calling push_notebook() the table still shows the old values consisting of many rows. If I then run the following cell to “show” the table again it will correctly reflect only the two rows described by its source.
Should push_notebook cause a table to refresh to reflect an updated data source? Or is there some other way I can trigger it to update other than calling “show” which I can’t do since the table needs to be displayed from a separate notebook cell (strange things happen if I try to call Bokeh show in the callback of an ipywidget button since both the table and button would display together creating a problem in the notebook cell publishing machinery)