Small refinements in input var plots
Summary
This MR introduces the following changes
- fix ylabel in nTracks plot ("Normalised Number of Tracks" -> "Normalised Number of Jets")
- some restructuring in the plotting functions
- added
translate_binning
function which translates binning of the form[xmin, xmax, bin_width]
into the corresponding bin edges array (this was duplicated in the old code) - added small function to check if
"Normalised"
is included in the ylabel and adds it if this is not the case. This function also setsn_ratio_panels
to 1 if it is not specified in the config but multiple datasets are plotted (this allows to remove the ratio panel) - added printout of mean n_tracks values to
plot_n_tracks_per_jet
plotting function
- added