Commit b8748d9
authored
prim: Replace deprecated Altair function (#270)
* 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-changes1 parent f7fe968 commit b8748d9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
563 | | - | |
| 563 | + | |
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
586 | | - | |
| 586 | + | |
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
| |||
0 commit comments