albertvillanova HF staff commited on
Commit
33d0dfb
1 Parent(s): 2f4d877

Use magenta instead of red color

Browse files
Files changed (1) hide show
  1. src/results.py +1 -1
src/results.py CHANGED
@@ -110,6 +110,6 @@ def clear_results():
110
 
111
  def highlight_min_max(s):
112
  if s.name.endswith("acc,none") or s.name.endswith("acc_norm,none") or s.name.endswith("exact_match,none"):
113
- return np.where(s == np.nanmax(s.values), "background-color:green", "background-color:red")
114
  else:
115
  return [""] * len(s)
 
110
 
111
  def highlight_min_max(s):
112
  if s.name.endswith("acc,none") or s.name.endswith("acc_norm,none") or s.name.endswith("exact_match,none"):
113
+ return np.where(s == np.nanmax(s.values), "background-color:green", "background-color:#D81B60")
114
  else:
115
  return [""] * len(s)