AIASys matplotlib 中文字体配置
OfficialEliminate Chinese font tofu in matplotlib plots.
Data & Analytics#data visualization#cross-platform#matplotlib#chinese font#tofu fix#font configuration
AuthorAIAsys
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Matplotlib's default DejaVu Sans font does not include CJK glyphs, causing all Chinese text in plot titles, labels, legends, and tick marks to render as unreadable tofu squares (□), which breaks the usability of data visualizations for Chinese-speaking users.
Core Features & Use Cases
- Cross-platform font configuration: Automatically matches and sets the most appropriate pre-installed CJK font for Windows, macOS, and Linux systems.
- Dual implementation options: Provides a built-in helper for AIASys runtime environments and a self-contained fallback for sandboxed or isolated execution contexts.
- Troubleshooting support: Includes guidance for clearing matplotlib font caches, listing available CJK fonts, and validating font rendering correctness. Use case: Data analysts, researchers, or developers generating matplotlib plots with Chinese text can use this skill to ensure all text renders correctly without manual font configuration or troubleshooting.
Quick Start
Load the aiasys-matplotlib-font-skill before creating any matplotlib plot that includes Chinese text to automatically apply the correct system font configuration.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: AIASys matplotlib 中文字体配置 Download link: https://github.com/AIAsys/AIASys/archive/main.zip#aiasys-matplotlib Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.