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 support for PerspectiveWidget #164

Open
gab23r opened this issue Oct 28, 2024 · 0 comments
Open

Add support for PerspectiveWidget #164

gab23r opened this issue Oct 28, 2024 · 0 comments

Comments

@gab23r
Copy link

gab23r commented Oct 28, 2024

It would be a really nice addition if py-shiny could support PerspectiveWidget

import polars as pl
from perspective.widget import PerspectiveWidget
from shinywidgets import render_widget


@render_widget
def perspective_widget():
    return PerspectiveWidget(
        pl.DataFrame({"A": range(10)}).to_arrow(),
    )

The code above fails with js error: Script error for "@finos/perspective-jupyterlab" https://requirejs.org/docs/errors.html#scripterror

@cpsievert cpsievert transferred this issue from posit-dev/py-shiny Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant