Fonts manager for matplotlib. Provides easy management of Chinese and other non-ASCII fonts for Matplotlib plots. Current version 0.0.11, released in 2023, low maintenance cadence.
pip install mplfontsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize mplfonts and set a Chinese font family. Requires internet on first run to download font packages.
Use init_fonts() instead of install_font().
Ensure internet connectivity or pre-download fonts manually.
Run: import matplotlib.font_manager as fm; fm._load_fontmanager(try_read_cache=False)