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(