-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
enhancementNew feature or requestNew feature or request
Description
A possible design for stacked histograms is the following:
A HistStack holds multiple histograms; axes are required to match. Calling .plot(...)
forwards to mplhep, just like Hist.plot, but with the stack of histograms as a list in the first argument.
To make a stack, you could use |
, so that:
(h1 | h2 | h3).plot()
Would make a stack of histograms and plot it.
This also might tie into #165, possibly .interp
on a stack would interpolate between histograms? Just a thought.
EDIT: should have added to #34 instead...
andrzejnovak and amangoel185
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request