ColumnDataSource callback on_change issue in 0.13
See original GitHub issueI have connected a widgets.DataTable
with a figure
by using the on_change
method on the ColumnDataSource.
source = ColumnDataSource(sub)
source.on_change('selected', table_select_callback)
This has stopped working in the latest release (0.13). Selecting rows in the table does not seem to trigger an event anymore.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (10 by maintainers)
Top Results From Across the Web
Columndatasource not in document puzzle when using a JS ...
Hello, Recently updated to 0.13.0 and seem to be running into an issue when trying to use a JS / Python Callback combination...
Read more >Bokeh 1.3.2 documentation
Bokeh Version 1.0.4 (January 2019) primarily addresses a security issue regarding yaml.load ... source.on_change('selected', callback) # BAD, DON'T DO THIS.
Read more >Running a Bokeh Server — Bokeh 0.13.0 documentation
Normally Bokeh session callbacks recursively lock the document until all future work they initiate is completed. However, you may want to drive blocking ......
Read more >Releases — Bokeh 3.0.3 Documentation
Ensure change callback manipulation is threadsafe (#12623) ... Bokeh Version 3.0.2 (Nov 2022) is a point release that addresses issues that could result...
Read more >bokeh.models.markers.Circle — Bokeh 0.13.0 documentation
A mapping of event names to lists of CustomJS callbacks. ... On the BokehJS side, change events for model properties have the form...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Many thanks. With the above adjustment, the example is fixed. Thanks for the quick response!
In any case, arguably, since the work to make
Selection
a proper Bokeh models earlier this year, the proper/better way to do this is