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

feat: add pan/zoom to mo.ui.altair_chart #1855

Merged
merged 3 commits into from
Jul 23, 2024
Merged

feat: add pan/zoom to mo.ui.altair_chart #1855

merged 3 commits into from
Jul 23, 2024

Conversation

mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Jul 23, 2024

This adds pan/zoom to altair via metaClick + drag/scroll.

This also fixes an edge case when a URL (csv/json) is passed to altair which is technically allowed. In this case, we convert the csv to pandas for later filtering.

Fixes #870

Copy link

vercel bot commented Jul 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2024 3:01pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2024 3:01pm

@mscolnick mscolnick requested a review from akshayka July 23, 2024 14:40
@mscolnick mscolnick merged commit 7d10fc1 into main Jul 23, 2024
17 of 31 checks passed
@mscolnick mscolnick deleted the ms/altair-pan-zoom branch July 23, 2024 17:23
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.

Improve Altair interactive charts: pan/zoom vs selection
2 participants