Skip to content

comparison key accept callables in addition to named strings #174

@kratsg

Description

@kratsg

There are many many different calculations one could put into the ratio plot, and while it's great to have the flexibility and configurability of named strings such as comparison="pull" , it would additional be great to have something like comparison=lambda h1,h2: h1/h2 supported at the minimum, and one could also extend it to work for N histograms along the lines of comparison=lambda h1,h2,h3: (h1/h2, h2/h3) where the return value is a histogram or an iterable of histograms to plot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions