Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure visualization uses binning in provided histograms #482

Open
sebastien-rettie opened this issue Jul 15, 2024 · 0 comments
Open

Ensure visualization uses binning in provided histograms #482

sebastien-rettie opened this issue Jul 15, 2024 · 0 comments

Comments

@sebastien-rettie
Copy link

It seems that in the case where no binning is provided in the config but histograms with a given binning are passed to cabinetry, some of the visualization tools (e.g. cabinetry.visualize.data_mc) don't pick up this binning and default to uniform bins instead. Attached are example plots using the same config, but the customBins file explicitly specifies the bins in the config file, whereas the default file does not pick the binning up from the input histograms.

@alexander-held suggested a fix for this could be something like a corresponding optional metadata file that is automatically filled

customBins.pdf
default.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant