mplhep - Plot HEP histograms using matplotlib and mplhep.
Applies experiment styles, adds labels, draws 1D/2D histograms, and constructs data and model comparisons or ratio panels.
Tags
Updated: 2026-09-10Capabilities
Typical Outputs
What this skill does
- Apply LHCb2 experiment styles
- Add experiment labels
- Draw 1D or 2D histograms
- Construct data and model comparisons
- Build ratio or pull panels
Inputs
- Pre-binned NumPy or UHI histograms
- Plot metadata and sample parameters
Outputs
- Saved histogram plot files
- Data and model comparison plots
Requirements
- Python runtime environment
- matplotlib package
- mplhep package
