The helpful example for wrapping a JS library uses a bokeh.models.ColumnDataSource in order to update the graph whenever the data changes.
Can I also monitor changes in, say, a bokeh.core.properties.String or bokeh.core.properties.Dict?
I’m trying to write a JSmol bokeh extension and I’m currently just awkwardly passing things through a ColumnDataSource that don’t really belong there.
The code that does the monitoring in the example is
# Set a listener so that when the Bokeh data source has a change # event, we can process the new data @connect(@model.data_source.change, () => @_graph.setData(@get_data()) )
which uses the .change property that does not seem to be available for core properties