natexcvi commited on
Commit
329d438
1 Parent(s): 9567b04

Fix formatting

Browse files
Files changed (1) hide show
  1. style.py +1 -1
style.py CHANGED
@@ -6,7 +6,7 @@ def recommendation_table_styler(styler):
6
  "proba_weak_down",
7
  "proba_strong_down",
8
  ]
9
- styler = styler.background_gradient(subset=proba_cols, cmap="viridis_r", axis=1)
10
  styler = styler.format({col: "{:.2%}" for col in proba_cols})
11
  styler = styler.background_gradient(subset=["actual"], cmap="viridis")
12
  return styler
 
6
  "proba_weak_down",
7
  "proba_strong_down",
8
  ]
9
+ styler = styler.background_gradient(subset=proba_cols, cmap="viridis", axis=1)
10
  styler = styler.format({col: "{:.2%}" for col in proba_cols})
11
  styler = styler.background_gradient(subset=["actual"], cmap="viridis")
12
  return styler