User Guide¤
Welcome to the mplhep user guide! This documentation is organized into focused sections to help you find what you need quickly.
Prerequisites
Throughout this guide the following codeblock is assumed.
Histogram Plotting¤
Functions for 1D and 2D pre-binned histograms with support for the Unified Histogram Interface (UHI).
Comparison Plotting¤
High-level functions for data-model comparisons.
Styling¤
Official styles for ATLAS, CMS, LHCb, ALICE, and DUNE experiments.
Utilities¤
Utility functions and experiment-specific label formatters.
- Text placement
- Subplot creation
- Save variations
- Fit y-label
- mpl_magic
- Axes manipulation
- plt.hist wrapper
To go further¤
UHI integration and best practices.
More Info¤
- API Reference - Detailed documentation of all functions and parameters
- Gallery - Visual examples of all plot types
- Contributing - Information on development and testing