Releases: scikit-hep/boost-histogram
Releases · scikit-hep/boost-histogram
Version 1.2.1
Version 1.2.0
User changes
- Python 3.10 officially supported, with wheels.
- Support subtraction on histograms #636
- Integer histograms are now signed #636
Bug fixes
- Support custom setters on AxesTuple subclasses. #627
- Faster picking if slices are not also used #645 or if they are #648 (1000x or more in some cases)
- Throw an error when an AxesTuple setter is the wrong length (inspired by zip strict in Python 3.10) #627
- Fix error thrown on comparison with axis and non-axis object #631
- Static typing no longer thinks
storage=is required #604
Developer changes
Version 1.1.0
Version 1.0.2
Version 0.13.2
- Backport fix scaling a weighted storage
- Backport fix partial summation over a Categorical axis
Version 1.0.1
Version 0.13.1
Backport release for the 0.x series.
- Backport fix for Mean/WeightedMean summing.
- Backport fix for
boost_histogram.numpydensity. - Backport missing metadata from the repr's.
- Ignore
family=on Histogram subclassing to make subclassing Histogram only possible in 1.x + 0.x code.
Version 1.0.0
Dropped support for Python 2 and 3.5; removed large numbers of workarounds. Fully statically typed. API compatible with the final 0.x release for most uses, except for subclassing; subclassing histogram components now uses Python 3 class keyword syntax to set families.
User changes
- Dropped Python 2.7 and 3.5 support #512
- Removed deprecated
.optionsfrom axes. Use.traitsinstead. #503 - Full static typing available, UHI 0.1.2+ supported. #516, #517, #519, #520, #521, #523
Subclassing Histogram changes
- Use keyword class family setting when subclassing histogram components
instead of custom decorator. #513 - Structure of internal repr creation changed and made slightly more public. #518
Bug fixes
Version 0.13.0
PlottableProtocol provides a way to plot in different libraries, and easy
access to common quantities. This is expected to be the final release for
Python 2, and mostly equivalent in API to 1.0.
User changes
- Support for PlottableProtocol. You can now access
.values(),.counts(),
and.variances()on all storages; used by plotting libraries..kinddescribes
the Kind of the histogram (bh.Kind.COUNTorbh.Kind.MEAN)..optionshas
been renamed to.traits, and a few more useful traits were added, like
.discrete. Most other portions of the Protocol were already present. #476 - Removed deprecated
.rankon histograms (since 0.8). Use.ndiminstead. #505 - Supports converting user histogram objects that provide a
_to_boost_histogram_method. #483 - A
view=Trueparameter must now be passed to get a View instead of a standard
NumPy values arrray fromto_numpy(). #498
Bug fixes
- Added additional support for typing, fixing a couple of rare Python 2 bugs in the process #493.
- The resulting histogram from
bh.numpy.*functions is now reducible #508
Developer changes
Version 0.12.0
Pressing forward to 1.0.
User changes
- You can now set all complex storages, either on a Histogram or a View with an
(N+1)D array #475 - Axes are now normal
__dict__classes, you can manipulate the__dict__as
normal. Axes construction now lets you either use the old metadata shortcut
or the__dict__inline. #477
Bug fixes
- Fixed slicing projection with one-sided slices #479
- Fixed issue if final bin of Variable histogram was infinite by updating to Boost 1.75 #470
- NumPy arrays can be used for weights in
bh.numpy#472 - Vectorization for WeightedMean accumulators was broken #475