Releases: scikit-hep/boost-histogram
Releases · scikit-hep/boost-histogram
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.numpy
density. - 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
.options
from axes. Use.traits
instead. #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..kind
describes
the Kind of the histogram (bh.Kind.COUNT
orbh.Kind.MEAN
)..options
has
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
.rank
on histograms (since 0.8). Use.ndim
instead. #505 - Supports converting user histogram objects that provide a
_to_boost_histogram_
method. #483 - A
view=True
parameter 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
Developer changes
Version 0.11.1
Updating pybind11 to 2.6.0. #443 Features:
- Python 3.9 support
- PyPy2 / PyPy3.6 / PyPy3.7 support
- Warnings on latest AppleClang fixed
- 40% faster accumulator fills, simpler implementation
- Segfaults when passing an object with a throwing repr fixed
- kwargs replaced older workarounds (partially at the moment)
- Using new
py::type
instead ofpybind11::detail
usage - Enhanced CMake support, finds conda and venv now, uses
pybind11_find_import
- Using setuptools support from pybind11 (previously vendored, so benefits have been available since 0.11.0)
Also cleans up SDists a bit. #467
Version 0.11.0
A release focused on preparing for the upcoming Hist 2.0 release.
User changes
- Arbitrary items can be set on an axis or histogram. #450, #456
- Subclasses can customize the conversion procedure. #456
Bug fixes
- Fixed reading pickles from boost-histogram 0.6-0.8 #445
- Minor correctness fix #446
- Accidental install of typing on Python 3.5+ fixed
- Scalar ND fill fixed #453
Developer changes
Version 0.10.2
Version 0.10.1
Several fixes were made, mostly related to Weight storage histograms from Uproot 4.