Skip to content

Commit

Permalink
No TeX styling on the black ones at all
Browse files Browse the repository at this point in the history
  • Loading branch information
noonio committed Oct 11, 2024
1 parent c49f4be commit 0a43407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cost-differences/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def update_colour(x):
return x

if x > 0:
return f"$${{\\color{{black}}+{x}}}$$"
return f"+{x}"
else:
return f"$${{\\color{{green}}{x:.2f}}}$$"

Expand Down

0 comments on commit 0a43407

Please sign in to comment.