-
Notifications
You must be signed in to change notification settings - Fork 90
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
prim: Replace deprecated Altair function #270
Conversation
Replace altair.selection_single() with altair.selection_point(), since the former is deprecated in Altair 5.0.0.
The reason that its not covered by the CI is that, if I recall correctly, there were a few remaining things in the code I wanted to polish. But then covid came. This is also why I haven't documented it in much detail. |
Fix the Altair Chart used in inspect_tradeoff(), by using Chart().add_selection() instead of the removed Chart().properties(selector=). This fixed the inspect_tradeoff() when using Altair 5.0.0.
Go ahead and merge this if it now is ready to be merged. |
Done! We might want to cherry pick this into a 2.5.1 release, I can do that Monday if you agree. |
There is another weird thing in the pca preprocessing that ideally I'll investigate and fix as part of that as well |
* prim: Replace deprecated Altair function Replace altair.selection_single() with altair.selection_point(), since the former is deprecated in Altair 5.0.0. * prim: Fix Altair chart by using Chart().add_selection() Fix the Altair Chart used in inspect_tradeoff(), by using Chart().add_selection() instead of the removed Chart().properties(selector=). This fixed the inspect_tradeoff() when using Altair 5.0.0. * prim: Update deprecated Chart.add_selection() to .add_params() See https://altair-viz.github.io/releases/changes.html#grammar-changes
Replace
altair.selection_single()
withaltair.selection_point()
, since the former is deprecated in Altair 5.0.0.Do not merge yet, still running some tests.
Also note that Altair is not covered currently in our CI.