fix: trust palette for cost waterfall + Viridis dosing gradient (Task A.4)

This commit is contained in:
Andrew Charlwood
2026-02-07 02:49:01 +00:00
parent 060cea2a03
commit 950d93b16b
3 changed files with 19 additions and 52 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ def register_trust_comparison_callbacks(app):
# Reuse existing waterfall figure — map trust_name to directory key
mapped = [{"directory": d["trust_name"], "patients": d["patients"],
"total_cost": d["total_cost"], "cost_pp": d["cost_pp"]} for d in data]
return create_cost_waterfall_figure(mapped, _tc_title(app_state))
return create_cost_waterfall_figure(mapped, _tc_title(app_state), is_trust_comparison=True)
# 3. Dosing — drug dosing intervals by trust
@app.callback(