{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics/2"}],"enrichment":{"capability":"Manages Matplotlib fonts and solves CJK (Chinese, Japanese, Korean) character rendering by providing a command-line tool and Python API to install, list, and switch between fonts including bundled open-source CJK typefaces.","skillfed_tags":["matplotlib-fonts","cjk-rendering","font-management"],"use_cases":["Plotting scientific data with Chinese, Japanese, or Korean labels and titles in Jupyter notebooks or scripts.","Creating publication-ready visualizations with CJK text without manual font configuration.","Switching between multiple CJK typefaces (serif vs. sans-serif, different regional variants) within a single project.","Installing and managing custom fonts alongside Matplotlib's built-in typefaces via command line.","Automating font setup in data analysis pipelines that generate multilingual reports."],"what_it_does":"mplfonts is a font manager for Matplotlib that solves the \"tofu\" problem\u2014the display of placeholder boxes instead of actual characters\u2014when plotting with CJK text. It provides both a command-line interface and a Python API to manage fonts. The package comes bundled with several open-source CJK typefaces (Noto Sans/Serif CJK SC, Source Han Serif/Mono SC) and handles Matplotlib configuration automatically during initialization.\n\nYou install it once with `mplfonts init`, which sets up your Matplotlib configuration for CJK support, then use the `use_font()` function in your plotting scripts to switch between available fonts. The tool also lets you install custom fonts from your system and list all available typefaces. It depends on Matplotlib, NumPy, fontmeta for font metadata, and fire for its CLI.","worth_installing":"Yes. If you plot with CJK text in Matplotlib, this package eliminates a common pain point with a single initialization command and minimal dependencies. The MIT license, active maintenance, low install friction, and zero known vulnerabilities make it a safe, practical choice. Install it if you need CJK rendering; skip it if you only use Latin-script languages."},"id":"mplfonts","links":{"html":"https://skillfed.io/packages/mplfonts","md":"https://skillfed.io/packages/mplfonts.md","pypi":"https://pypi.org/project/mplfonts/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-28","license_spdx":null,"license_treatment":"permissive","name":"mplfonts","python_support":"supports_current","summary":"Fonts manager for matplotlib"},"popularity":{"monthly_downloads":128022,"position":11723,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.11"}
