Clash of axis scale multiplier with xlabel
In some cases, the axis scale multiplier coincides with the xlabel. One could perhaps include more xlabel location flexibility through the yaml files. Here’s a back-of-the-hand fix, which Sammy suggested:
In file umami/input_vars_tools/plotting_functions.py
:
if special_param_jets is not None and var in special_param_jets:
if ("xlab" in special_param_jets[var]):
var_plot.xlabel = special_param_jets[var]["xlab"]
And then specifying in the yaml file like this as a workaround for extra space from the right:
special_param_jets:
pt_btagJes:
lim_left: 0
lim_right: 1.4e6
xlabel: 'pt_btagJes '