Skip to content

Commit

Permalink
fix: truncate long channel names on data_mc plots
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzennio committed Dec 2, 2024
1 parent 5f96224 commit 0ce3b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cabinetry/visualize/plot_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 0ce3b1d

Please sign in to comment.