-
-
Notifications
You must be signed in to change notification settings - Fork 499
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
Make IpyWidgets allow_refs like other panes #5921
Comments
The problem here is that an IPywidget with a |
@ahuang11 I don't know if something you could address, but I know the Pangeo community would love to have lonboard be dynamic and performant in Panel! From developmentseed/lonboard#262 (comment)
|
That seems like incorrect usage of Panel and lonboard more than an issue with either library. I'm out for the next few days but can try to build a new example. |
Reactive updates like we support for Panel cannot be supported in ipywidgets unless we somehow upstream support for that, so writing callback based code is the only approach that will work. |
@philippjfr a new example from a GURU would be great! 😸 |
Just read the original request here again, even if we did support the original request that wouldn't result in efficient updates so I almost think we shouldn't support dynamic references so folks don't attempt this approach and then complain that Panel is inefficient. |
I would like to demonstrate that Panel works with AnyWidget and now lonboard. I would like to show the integration via
pn.bind
.But it seems I cannot use a bound function with
pn.pane.IpyWidgets
because theobject
ofpn.pane.IpyWidget
hasallow_refs=False
. Other panes have this setting toTrue
. Why not IpyWidgets?`Works - but not dynamic
Does not work
If I change line 41 to a bound function it does not work.
The text was updated successfully, but these errors were encountered: