Skip to content

Commit 5405cf7

Browse files
committed
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.
1 parent 6141f69 commit 5405cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ema_workbench/analysis/prim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ def inspect_tradeoff(self):
583583
alt.Tooltip("res_dim:O"),
584584
],
585585
)
586-
.properties(selection=point_selector)
586+
.add_selection(point_selector)
587587
.properties(width=width, height=height)
588588
)
589589

0 commit comments

Comments
 (0)