A specialized configuration skill to fix garbled Chinese characters and font rendering issues in Matplotlib charts.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install matplotlib-chinese-font
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install matplotlib-chinese-font using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Matplotlib Chinese Font Configuration skill provides a robust solution for developers and data scientists who need to display Chinese characters in Python-based visualizations. It solves the common 'tofu' problem where Chinese text appears as empty squares by properly configuring system fonts like Heiti TC and Songti SC.
By leveraging this configuration through Openclaw Skills, users can ensure that their data stories are legible and professionally presented for Chinese-speaking audiences. It handles both global configuration for entire projects and granular, element-specific font overrides for complex layouts.
To get started with this configuration from Openclaw Skills, you can apply the following settings in your Python script:
import matplotlib.pyplot as plt
# Configure Chinese font (e.g., Heiti TC for macOS)
plt.rcParams['font.sans-serif'] = ['Heiti TC']
plt.rcParams['axes.unicode_minus'] = False
To verify available fonts or troubleshoot issues, use these commands:
# List all available system fonts
python3 -c "import matplotlib.font_manager as fm; print('\n'.join(sorted(set([f.name for f in fm.fontManager.ttflist]))))"
# Clear font cache if changes don't take effect
rm -rf ~/.matplotlib
This skill organizes configuration parameters and helper utilities as follows:
| Parameter | Type | Purpose |
|---|---|---|
font.sans-serif |
List | Defines the priority list of fonts used for rendering Chinese text |
axes.unicode_minus |
Boolean | Prevents the minus sign from being garbled in charts |
scripts/list_fonts.py |
Script | Detects and lists compatible Chinese fonts available on the system |
scripts/clear_cache.py |
Script | Automates the removal of the Matplotlib font cache directory |
Loading
A specialized assistant for developers to rapidly build, debug, and deploy OpenClaw skills and plugins with minimal commands.

An AI-powered copywriting specialist designed to transform technical outdoor gear specifications into high-energy, persuasive livestream and short-form video scripts.

A specialized research skill for analyzing the historical events of the Haitian Revolution and the long-term impact of its independence debt to France.

A professional AI writing agent that generates high-quality, publishable articles by integrating the Bijian AI platform with Openclaw Skills.

An automated intelligence tool that aggregates, filters, and summarizes the latest global social, technology, and military news into structured briefings.

A comprehensive toolkit for independent fashion designers to build authentic brand narrative pages and cohesive site structures that drive conversion.








































