Skip to content

Commit

Permalink
Fix lumi label precision to recommended digits.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Feb 11, 2025
1 parent e18f1df commit da70a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion columnflow/plotting/plot_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def prepare_style_config(
"legend_cfg": {},
"annotate_cfg": {"text": cat_label or ""},
"cms_label_cfg": {
"lumi": round(0.001 * config_inst.x.luminosity.get("nominal"), 2), # /pb -> /fb
"lumi": f"{0.001 * config_inst.x.luminosity.get('nominal'):.1f}", # /pb -> /fb
"com": config_inst.campaign.ecm,
},
}
Expand Down

0 comments on commit da70a68

Please sign in to comment.