diff --git a/src/cabinetry/visualize/plot_model.py b/src/cabinetry/visualize/plot_model.py index 10eb0673..de280103 100644 --- a/src/cabinetry/visualize/plot_model.py +++ b/src/cabinetry/visualize/plot_model.py @@ -223,7 +223,7 @@ def data_mc( # figure label (region name) at = mpl.offsetbox.AnchoredText( - label, + (label[:30] + "...") if len(label) > 30 else label, loc="upper left", frameon=False, prop={"fontsize": "large", "linespacing": 1.5},