hist
hist copied to clipboard
Histogramming for analysis powered by boost-histogram
hist with 1 regular and one StrCat(or even Cat) should visualize as 1d hist. Currently  and `.plot()` throws an error.
It would be convenient to have a `from_root` construction method to be able to use the nice hist API quickly. I think having a `from_numpy` would be helpful as well...
Often when displaying scale-factor or other 2D ratio plots it is useful to overlay a colored z-axis with text of histogram central values and errors to concisely convey information. It...
I don't think this is currently implemented, but would be super useful, allowing to merge samples that were processed separately. I am imagining syntax like: `h[{'category: {'merged': ['sampleA', 'sampleB'], ...}}]`...
This can be an easy way to enable interoperability with software in the HEP-theory/reinterpreation world and also provides an already-standard human readable serialization format for some histogram types. YODA histograms...
modified from @nsmith-'s `coffea/hist` fcn. ``` def export1d(h_obj): axis = h_obj.axes[0] sumw, sumw2 = h_obj.values(flow=True), h_obj.variances(flow=True) edges = h_obj.axes[0].edges out = TH1.__new__(TH1) out._fXaxis = TAxis(len(edges) - 1, edges[0], edges[-1]) out._fXaxis._fName...
maybe this is asking to much from a simple `repr` and just a matter of just plottting the hist properly.. but while integrating `hist` in `pylhe` I wondered whether some...
**Describe the problem, if any, that your feature request is related to** A clear and concise description of what the problem is. This might be getting into Issue #117 territory,...
Would be nice to add as well the simple propagation of error style uncertainty: https://github.com/CoffeaTeam/coffea/blob/84e805773c1fac32fc79bc9373ec324552371244/coffea/hist/plot.py#L82 _Originally posted by @nsmith- in https://github.com/scikit-hep/hist/pull/176#r609705593_
We should add an Interpolator class that can interpolate histograms. Idea for usage: ```python # Linear interpolation f = hist.interp.Linear(h) x = f(2.3) ``` An `Interpolator` would take a histogram,...