From eee01bc03c02fcf830b050e4fc20fe2f2f46df77 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 13 Jul 2026 22:05:45 -0400 Subject: [PATCH] Use bold fonts for labelling colour names These end up quite small in the PDF, and do seem a bit hard to read to me, especially the white ones. --- scripts/colors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/colors.py b/scripts/colors.py index 86e3a70..8709bce 100644 --- a/scripts/colors.py +++ b/scripts/colors.py @@ -46,7 +46,7 @@ text_color = "black" if luma[i] > 0.5 else "white" text = str(colors[i]).replace(' ', '') ax.text((i+0.5)*dx, (ymin+ymax)/2, text, color=text_color, zorder=10, - family="Source Code Pro", size=9, ha="center", va="center") + family="Source Code Pro", weight="bold", size=9, ha="center", va="center") fig.savefig(ROOT_DIR / f"figures/colors-{name}.pdf") ax.clear()