-
Notifications
You must be signed in to change notification settings - Fork 19
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
Google Colab interactive chart scroll (zoom) in and out #259
Comments
Hi @earlev4, thanks for the kind words and for the helpful bug report. From the example you shared, it looks like you've omitted the
I'll dig into it! |
Oh! I think I found the issue. It's a bit subtle, but Altair 5.0.0-rc1 was updated to use Vega-Lite 5.6.1. The VegaFusionWidget bundles it's own copy of Vega-Lite, but as of VegaFusion 1.0.4, the version of this copy matches that used by Altair 4.2.0 (Vega-Lite 4.17.0). This is a good reminder that we should update Vega-Lite in VegaFusionWidget for the next VegaFusion release (which will be 1.1.0). So here are your current options:
Hope that helps! We're planning to do at least one more release candidate for VegaFusion 1.1.0, and I'll ping you when that's available with the updated version of VegaFusionWidget. |
Hi @jonmmease! Thank you very, very much for the assistance! I am grateful for your expertise and time. Your response definitely helps. I tested both options 1 and 3, which worked perfectly. Looking forward to the next release. Thanks again! I sincerely appreciate the prompt response and help! |
Hi! First off, a huge thanks to Hex and the contributors of the project! Recently learned about the project and it looks very promising!
I am attempting to use VegaFusion in interactive mode in Google Colab using
vf.enable_widget()
.The versions of Altair and VegaFusion are:
When creating a bar plot or a scatter plot in Altair, I can zoom in and out using the scroll wheel. This behavior is more important in a scatter plot to zoom in on particular points. However, when I create the same plots with VegaFusion, I am unable to zoom in and out using the scroll wheel. However, on a scatter plot, I am able to experience some interactive behavior with tooltips.
Forgive me if this is a known issue or intended behavior. I checked the documentation and did not see any mention of this functionality. In addition, I searched GitHub issues and was unable to find any similar reports.
I found a reference to Google Colab in this issue, but the issue did not address the scroll behavior:
Support Colab #55
I created a Google Colab notebook to reproduce the issue.
VegaFusion_scroll_issue.ipynb
Thanks so much in advance for the assistance! I appreciate it.
The text was updated successfully, but these errors were encountered: