Closed ruoyu0088 closed 4 years ago
@ruoyu0088 We will need a lot more information:
Additionally, I don't really know what you mean by "widget mode" so that will require some explanation or references
cc @mattpap
I guess this is new?
fig_w = jb.BokehModel(fig)
Is this documented somewhere?
I can reproduce this using bokeh 1.4.0 and the jupyter_bokeh 1.1.0 in all browsers and both in JLab and classic notebook. I suspect the problem here is that the messages do not include the setter
so events end up bouncing back and forth. I'll try to figure out a fix here.
I suspect the problem here is that the messages do not include the setter so events end up bouncing back and forth.
That would certainly cause problems. It would be good to add some information about this to the User's Guide as well.
Here is the code:
and the response of the pan and zoom operations.
Here is the version info:
the widget mode means communicate between bokehjs and python kernel through ipywidgets.
Here is the example notebook:
https://github.com/bokeh/jupyter_bokeh/blob/master/examples/jupyter_widgets.ipynb