Presentation Open Access

The boost-histogram package

Schreiner, Henry Fredrick; Dembinski, Hans Peter

The boost-histogram library provides first-class histogram objects in Python. You can compose axes and a storage to fit almost any problem. You can fill, manipulate, slice, and project then, and pass them between other Scikit-HEP libraries like Uproot4, mplhep, and histoprint. Boost-histogram is meant to be the "NumPy" of histogram libraries that others can build on; the "pandas" of histograms is "Hist", a physicist friendly front-end that extends and expands boost-histogram to do plotting and more. An early version of Hist is shown for the first time here.

Files (4.5 MB)
Name Size
4.5 MB Download
All versions This version
Views 5,1925,192
Downloads 33
Data volume 13.6 MB13.6 MB
Unique views 5,1865,186
Unique downloads 33


Cite as