scikit-hep
mplhep
Python

Extended histogram plotting on top of matplotlib and HEP collaboration compatible styling

Last updated Jul 3, 2026
220
Stars
75
Forks
1
Issues
+1
Stars/day
Attention Score
89
Language breakdown
No language data available.
Files click to expand
README

DOI [![Scikit-HEP][sk-badge]](https://scikit-hep.org/) Docs

[sk-badge]: https://scikit-hep.org/assets/images/Scikit--HEP-Project-blue.svg

[![Actions Status][actions-badge]][actions-link] pre-commit.ci status pre-commit

PyPI version Conda-forge version Supported Python versions

PyPI download week

Binder

A set of helpers for matplotlib to more easily produce plots typically needed in HEP as well as style them in way that's compatible with current collaboration requirements (ROOT-like plots for CMS, ATLAS, LHCb, ALICE).

Installation

pip install mplhep

Documentation and Getting Started

A tutorial given at PyHEP 2020 is available as a binder here or you can watch the recording here.

Documentation can be found at scikit-hep.org/mplhep.

Notes

Citation

If you've found this library helpful and are able to, please consider citing it. You can find us on Zenodo as a permalink to the latest version.

BiBTeX:

@software{Novakmplhep2020,   author = {Novak, Andrzej and Schreiner, Henry and Feickert, Matthew and Eschle, Jonas and Fillinger, Tristan and Praz, Cyrille},   doi = {10.5281/zenodo.3766157},   license = {MIT},   month = apr,   title = {{mplhep}},   url = {https://github.com/scikit-hep/mplhep},   year = {2020} }

APA:

Novak, A., Schreiner, H., Feickert, M., Eschle, J., Fillinger, T., & Praz, C. (2020). mplhep [Computer software]. https://doi.org/10.5281/zenodo.3766157

Use in publications

Updating list of citations and use cases of mplhep in publications:

[actions-badge]: https://github.com/scikit-hep/mplhep/workflows/CI/badge.svg [actions-link]: https://github.com/scikit-hep/mplhep/actions
🔗 More in this category

© 2026 GitRepoTrend · scikit-hep/mplhep · Updated daily from GitHub