-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[FEAT] Support panel dashboarding library #280
Comments
Hi @kszlim,
A quick online search pointed me toward "Embed your Dash app", which suggests that this could be embedded with an Please let me know if this helps you any further. |
Ah yeah, I reached out to the holoviz discord and was told it would involve
So there probably would have to be an implementation just for panel. |
I would also like this feature. For now, using pn.pane.Plotly(fig) is still useful to get a fully interactable down sampled plotly object. The problem is just that the dynamic resampling doesn't work. I played around with trying to use iframes or some other method to embed as a dash app, but never ended up with a good solution. I'm also pretty new to this space, so it could've easily just been due to me being new. |
Yeah, I don't think there is a good solution without direct support. I tried using it as an ipywidget, but that is somewhat broken too. |
Ok I've got something working on v0.9.1. Here is a running example. If you want to turn this into a more solid contribution @kszlim or @jonasvdd just lmk. I tested briefly with v0.9.2 but the construct_update_data had changed and I didn't want to work on it anymore today lol. The major issue I had was with the way the pn.pane.Plotly object redraws the figure, it always calls an autosize event, so if you didn't have your y-axis range set firmly, it would be reset.
|
@skemp117 I'd definitely like to see this make it in, but I'm not a maintainer of this package 😄 |
Right now the resampler kind of works with Panel in the sense that you can embed a
FigureResampler
based figure into a Panel dashboard, but the dynamically resampling doesn't work.So upon load with verbose on, I can see the resampling occur, but as you zoom in or out, there's no dynamic resampling.
Alternatively, it'd be nice if you just gave a simple solution for hooking it into a panel based dashboard.
The text was updated successfully, but these errors were encountered: