hist
hist copied to clipboard
Histogramming for analysis powered by boost-histogram
**Describe the bug** When reducing a 1-D histogram to 0-D via a hist.Hist.profile call, the resulting MeanView does not handle method calls as expected: **Steps to reproduce** ```python import hist...
Right now, histograms can only be rebinned by some integer amount via the `hist.rebin` indicator. I would be nice if there was some way to rebin a certain axis arbitrary...
The 2D histogram repr could use an embedded bitmap, as the current display is a bit slow. https://stackoverflow.com/questions/6249664/does-svg-support-embedding-of-bitmap-images
Given an `array` of dimension `(nrows, ndim)` and given a histogram of dimension `ndim`, looking for a method that can return an array `"weights"` of dimension `(nrows, 1)` that has...
Example below: ``` import hist, numpy as np hmap1 = (hist.new .Reg(10, 0, 10, name='x', flow=False) .Reg(10, 0, 10, name='y', flow=False) .Int64() ).fill(np.random.normal(5, 3, 1000), np.random.normal(5, 3, 1000)) hmap2 =...
Asking for ``` h = hist.new.Reg(10, 0, 10, name='x', flow=False).Double().fill(np.random.normal(5, 3, 1000)) (h - 100).plot() ``` behaves as expected with negative bins, while ``` h = hist.new.Reg(10, 0, 10, name='x',...
**Describe the bug** When giving an array of values to `hist.numpy.histogram` that contains NaN values, the histogram creation fails: ```python >>> import hist >>> import numpy as np >>> hist.numpy.histogram([1,...
(opening as feature request, unsure if it's technically more of a bug) It is currently not possible to have a histogram with an axis where lower and upper bound match:...
Assuming the axis has an `edges` attribute, I assume it should also have a `widths` attribute, so I thought we can just use that for the pull bar widths instead...