hist - Histogram manipulation with scikit-hep hist library
Create, fill, slice, and plot histograms using scikit-hep hist library in Python
Tags
Updated: 2026-02-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create hist.Hist objects
- choose axis and storage types
- fill histograms with data
- slice histograms with UHI indexing
- project histograms to 1D
- plot histograms with mplhep styles
- save figures to files
Inputs
- data arrays
- axis specifications
- weight arrays
- plot style parameters
Outputs
- hist.Hist objects
- matplotlib figures
- saved image files
Requirements
- Python environment
- scikit-hep hist library
- matplotlib
- mplhep package
