Skip to content
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

Add a Panel native widget #551

Open
MarcSkovMadsen opened this issue Oct 4, 2024 · 1 comment
Open

Add a Panel native widget #551

MarcSkovMadsen opened this issue Oct 4, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MarcSkovMadsen
Copy link

MarcSkovMadsen commented Oct 4, 2024

Mosaic works with Panel via the ipywidgets-bokeh integration. See https://discourse.holoviz.org/t/panel-works-with-anywidget/6466/3?u=marc.

The ipywidgets-bokeh integration is not as performant as a Panel native implementation. With Panel 1.5 it should in theory require no change on the js side and only minor changes (traitlets -> param) on the python side to create a Panel native widget. See https://panel.holoviz.org/reference/custom_components/AnyWidgetComponent.html.

Please consider adding a Panel Mosaic widget. It could be in a separate module from mosaic_widget.panel import MosaicWidget.

I've made a similar request in the Panel github to add it there instead. I've included some code that should illustrate a POC in holoviz/panel#7358 (comment). Unfortunately some error is raised in quantitative.js. I'm not a js developer so figuring out what goes wrong is not easy for me.

@domoritz
Copy link
Member

domoritz commented Oct 6, 2024

Thanks for the motivation and outline of a solution. I think this would be great and could live in this repo. I won't have cycles to do this for a while but would be happy to review a pull request.

@domoritz domoritz added enhancement New feature or request help wanted Extra attention is needed labels Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants