Skip to content

Commit

Permalink
Make optimizer Altair V5 capable.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 733832420
  • Loading branch information
The Meridian Authors committed Mar 6, 2025
1 parent ed40c06 commit a1c826d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meridian/analysis/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def plot_spend_delta(self) -> alt.Chart:
tooltip=True, size=c.BAR_SIZE, cornerRadiusEnd=c.CORNER_RADIUS
).encode(
color=alt.condition(
alt.expr.datum.spend > 0,
alt.datum.spend > 0,
alt.value(c.CYAN_400),
alt.value(c.RED_300),
),
Expand Down

0 comments on commit a1c826d

Please sign in to comment.