hist icon indicating copy to clipboard operation
hist copied to clipboard

Histogramming for analysis powered by boost-histogram

Results 91 hist issues
Sort by recently updated
recently updated
newest added

hist with 1 regular and one StrCat(or even Cat) should visualize as 1d hist. Currently ![image](https://user-images.githubusercontent.com/13226500/113623098-26624a00-965e-11eb-88a1-df185f00ec01.png) and `.plot()` throws an error.

enhancement

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...

enhancement

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...

enhancement

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'], ...}}]`...

enhancement

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...

enhancement

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...

enhancement

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...

enhancement

**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,...

enhancement

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,...

enhancement