Skip to content

fix: Treatment of weighted TH1 histograms in comparisons #581

@danwern

Description

@danwern

The function _check_counting_histogram currently prevents plotting comparisons between weighted TH1* histograms.
The issue seems to go back to the different treatment of TH1 in uproot and the ROOT pythonization in the newest version:

I did not find clear instructions in the UHI documentation whether either of those approaches is "incorrect". If both should be supported, I suppose it would be good to support ratios of kind.MEAN in mplhep.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions