-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for using bokeh protocol in the notebook including binary transfer #1894
Conversation
That sounds really helpful, and is something that will greatly simplify a lot of user code. What was the change that made that possible? |
ad0c619
to
2e6cfe8
Compare
I think we should get this PR merged as is and I'll separately investigate whether we could/should use the protocol (with or without binary encoding) for embedding data. |
Very happy with the speedup this will give us and the prospect of being able to push new models is very exciting. Merging. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The bokeh/bokeh#6945 PR adds support for sending bokeh events in the notebook using the regular bokeh protocol. This means we can now take advantage of binary transfer for arrays providing a ~5x speedup, which is particularly noticeable for images. Additionally this will allow us to dynamically add new glyphs to a plot, which means a DynamicMap will be able to return varying numbers of layers with a bit of work.
For now I've left in support for the old way of generating JSON patches and moved some small deprecated bokeh functions into holoviews, as it's not quite clear to me yet whether we can use the protocol for statically embedded data.