mplhep-data
Font (Data) sub-package for mplhep
What it is and what it does
mplhep_data is a data package that bundles fonts and related assets for the mplhep scientific plotting library. It contains four open-licensed typefaces—Tex Gyre Heros, Tex Gyre Termes, Fira Sans, and Fira Math—packaged for convenient distribution rather than requiring users to download them separately from multiple sources.
The package has no runtime dependencies and installs as a lightweight wheel. It is maintained as part of the Scikit-HEP project and supports Python 3.10 through 3.14. Its primary role is to ensure that mplhep users have consistent, redistributable fonts available without manual setup.
Use it for:
- Installing fonts needed by mplhep for high-energy physics plotting and visualization.
- Ensuring consistent typography across scientific plots in Jupyter notebooks or batch analysis pipelines.
- Bundling with mplhep in environments where downloading fonts from external sources is inconvenient or restricted.
- Providing Fira Math and Tex Gyre typefaces to Python plotting workflows that require specific font families.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Distributes fonts and data files for the mplhep plotting library, including Tex Gyre Heros, Tex Gyre Termes, Fira Sans, and Fira Math with open licenses.
Yes, if you use mplhep for scientific plotting. It is a lightweight, dependency-free package with permissive licensing and no known vulnerabilities. Install it as a companion to mplhep to ensure fonts are available. If mplhep is not in your workflow, this package has no standalone value.
Install
mplhep-data on PyPI
pip
pip install mplhep-datauv
uv add mplhep-datapoetry
poetry add mplhep-dataInstalling mplhep-data
Before you install
Low friction: pure Python wheel with no runtime dependencies. Active maintenance with recent release (71 days ago). Early development status (Planning) but supported on modern Python versions 3.10–3.14.
License in practice
MIT license permits free use, modification, and redistribution with minimal restrictions. Fonts included have open licenses and can be redistributed.
Quickstart
pip install mplhep-data
import mplhep_data
# Fonts are now available for use by mplhep or direct access
Requires Python 3.10 or later.
Verify before relying
- How mplhep_data integrates with mplhep itself and whether it must be installed separately or is pulled in automatically.
- Whether the included fonts can be accessed programmatically or are only available to mplhep's plotting functions.
- Font coverage: which specific font weights, styles, or variants are included for each typeface.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 71 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 351,255/month — #7,323 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mplhep_data-0.1.0-py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
mplhepmplhep provides matplotlib styling and helper…
permissive · top 15,000 on PyPI
pymupdf-fontsProvides a collection of optional fonts…
unclear · top 15,000 on PyPI
mplfontsManages Matplotlib fonts and solves CJK…
permissive · top 15,000 on PyPI
koreanize-matplotlibAutomatically configures matplotlib to display…
permissive · top 15,000 on PyPI
lovelyplotsLovelyPlots provides matplotlib style sheets…
permissive · top 15,000 on PyPI
fontawesomefreeDistributes Font Awesome Free icon fonts and…
unclear · top 15,000 on PyPI
matplotlib-fontjaEnables Japanese text rendering in matplotlib…
permissive · top 15,000 on PyPI
rendercv-fontsProvides a collection of fonts packaged for use…
permissive · top 15,000 on PyPI
weblate-fontsProvides a curated collection of fonts packaged…
unclear · top 15,000 on PyPI
pyfigletRenders ASCII text as ASCII art using a variety…
permissive · top 5,000 on PyPI