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

v2: Add VegaFusionWidget based on AnyWidget #514

Merged
merged 5 commits into from
Oct 8, 2024
Merged

Conversation

jonmmease
Copy link
Collaborator

This PR adds a new implementation of VegaFusionWidget (the original was removed with the removal of the vegafusion-jupyter package) based on AnyWidget. This implementation is heavily based on the JupyterChart implementation I did for Altair. It uses the ChartState approach for managing state and inline datasets in Python so that it's not neccesary to write datasets to disk, or to compile VegaFusion to wasm to run in the browser.

This widget supports only Vega specs, not Vega-Lite. For Vega-Lite the recommendation is the either convert to Vega with vl-convert, or convert to an Altair chart and use JupyterChart.

@jonmmease jonmmease changed the base branch from main to v2 October 8, 2024 13:49
@jonmmease jonmmease merged commit 4d17974 into v2 Oct 8, 2024
18 checks passed
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

Successfully merging this pull request may close these issues.

1 participant