NL | minor

This commit is contained in:
martin 2024-02-01 06:53:49 +01:00
parent 44d9aeec6b
commit 7eb199cc49

View File

@ -226,7 +226,7 @@ for sg in supergroups:
sol += "<tr>\n" sol += "<tr>\n"
sol += f"<td>{t1.shortname} - {t.pot}</td>" sol += f"<td>{t1.shortname} - {t.pot}</td>"
for t2 in sg.teams.order_by('pot'): for t2 in sg.teams.order_by('pot'):
color = heatmap_color_for((abs(teams_in_group_together[(t1,t2)]-(maxVal+minVal)/2))/((maxVal-minVal)/2 or 1)) color = heatmap_color_for((abs(teams_in_group_together[(t1,t2)]-(25))/(25)))
opacity = "1" opacity = "1"
if teams_in_group_together[(t1,t2)] == 0: if teams_in_group_together[(t1,t2)] == 0:
color = 'lightgrey' color = 'lightgrey'