Spaces:
Runtime error
Runtime error
natexcvi
commited on
Commit
•
329d438
1
Parent(s):
9567b04
Fix formatting
Browse files
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="
|
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
|