hist
hist copied to clipboard
Histogramming for analysis powered by boost-histogram
I had a discussion recently with @andrzejnovak about plotting pulls in mplhep as it would be very useful for nice zfit plots of PDFs. Therefore the idea would be to...
As @matthewfeickert mentioned in #110. We can use doctest in hist to keep the docs up-to-date.
This is to enable simple, quick analysis in a notebook or REPL. Here are current ideas (to be expanded): #### Allow complex numbers for `bh.loc` - [x] This would allow...
**Describe the problem, if any, that your feature request is related to** We need to have a test to make sure adding the same axes to two Histograms property makes...
Send Jim example for 1D, 2D, Profile. Uproot-hepdata. Show: `.plot`, `.plot_pull`, `plot2d_full`. Show a few things, like projection.
@henryiii We are going to add some shortcuts for analysis. Could you please specify which kinds of analysis are needed? And what tools or packages do you think are proper?...
We might need to design file media for cross-platform development. I think ROOT file is a good option. Maybe we can design functionality to serialize/deserialize our histograms or axis objects...
the axis.index() function returns incorrect index when passed particular integer values. **Steps to reproduce** Running under linux (fedora 35, python 3.6.10) ```python >>> hist.__version__ '2.6.2' >>> a=hist.axis.Regular(50,0,50) >>> [(i,a.index(i)) for...
We should have a nicer repr: ``` Stack ``` We should also fix reprs for label= being added on axes and name= missing on histograms. Also, boost-histogram is missing Histogram...
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.3.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.4...v0.3.5)