Closed ceball closed 4 years ago
don't know why old and new are the same, but I get the updated value.
This is the behavior when values are updated in-place.
This makes sense. Earlier I was under the impression that we spoke about ipywidgets_bokeh
. There is code on the JS side that explicitly only supports model change events (from JS to Python).
I fixed this in https://github.com/bokeh/jupyter_bokeh/pull/102
I couldn't edit a dataframe using panel's ipywidgets comms (https://github.com/holoviz/panel/issues/1249), and think I narrowed it down to jupyter_bokeh (rather than panel or bokeh).
Here is an example of editing a DataTable that seems to work via
bokeh serve
but not in the notebook with jupyter_bokeh.Behavior is as expected in bokeh serve
Running the above via
bokeh serve
and editing the bottom right value in the table to 300 results in this being printed:(don't know why old and new are the same, but I get the updated value).
Unexpected behavior in jupyter lab
The above example in jupyter lab, with additional preamble
and last line replaced with
results in the following entry in the jupyter lab log:
software version info
jupyter lab on linux, chromium 79.0.3945.130
(I checked with latest master
jupyter_bokeh
also)