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

MAINT: get working with latest versions of Altair and ipywidgets #17

Merged
merged 5 commits into from
Feb 28, 2019

Conversation

stsievert
Copy link
Member

@stsievert stsievert commented Sep 3, 2018

This will close #11 and #12.

This PR chooses renders the Altair chart as SVG each time the plot is updated:

screen shot 2018-09-03 at 5 27 32 pm

This is with Altair 2.2.2 and ipywidgets 7.2.1.

The update takes about 2.5 seconds anytime a button is clicked, which is really annoying. I don't think I'll resolve that in this PR.

TODO:

  • check version install
  • resolve TravisCI tests

@stsievert stsievert mentioned this pull request Dec 18, 2018
@stsievert
Copy link
Member Author

This PR is ready for merge – it's not perfect, but can be improved. Here's a screenshot of the widget:

screen shot 2019-02-28 at 9 35 49 am

The issues with this:

  • the options button isn't supported
  • it's slow to show a new plot

I'll leave these issues to be resolved later and merge this now.

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.

altair_widgets doesn’t work under altair 1.2 and ipywidgets 7.0
1 participant