From 7299fd16dfe430bce42273e0ec2cb167a8d104a2 Mon Sep 17 00:00:00 2001 From: clairehalloran Date: Mon, 19 Oct 2026 11:41:10 -0600 Subject: [PATCH] Fix region label fontsize in compare_cases.py --- postprocessing/compare_cases.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postprocessing/compare_cases.py b/postprocessing/compare_cases.py index 0d964b430..08553c9d6 100644 --- a/postprocessing/compare_cases.py +++ b/postprocessing/compare_cases.py @@ -2682,7 +2682,7 @@ def two_bars(dfplot, basecase, colors, ax, col=0, ypad=0.02): ax=ax[coords[case]], column='GW', cmap=cmap, vmin=vmin, vmax=vmax, legend=False, ) - reedsplots.label_region_value(dfplot, ax=ax[coords[case]], column="GW", fontsize=5) + reedsplots.label_region_value(dfplot, ax=ax[coords[case]], column="GW", text_kwargs={'fontsize': 5}) ## Legend if coords[case] == legendcoords: plots.addcolorbarhist( @@ -2754,7 +2754,7 @@ def two_bars(dfplot, basecase, colors, ax, col=0, ypad=0.02): vmax=(absmax if case == basecase else diffmax), legend=False, ) - reedsplots.label_region_value(dfplot, ax=ax[coords[case]], column="GW", fontsize=5) + reedsplots.label_region_value(dfplot, ax=ax[coords[case]], column="GW", text_kwargs={'fontsize': 5}) ## Difference legend if coords[case] == legendcoords: plots.addcolorbarhist(