← 返回 Skills 市场
earl-chen

Python Matplotlib Chinese Font

作者 Earl-chen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
127
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install python-matplotlib-chinese-font
功能描述
Configure matplotlib to display Chinese by adding a Chinese font file with font_manager.addfont(), setting rcParams['font.family'], and disabling unicode_minus.
安全使用建议
This skill appears coherent and limited to enabling Chinese fonts in matplotlib. Before using: (1) verify and accept the font's license (BabelStoneHan is large ~50MB); (2) download the font from a trusted source and inspect it before adding to your project; (3) note the test script will save test_chinese_font.png to your current working directory; and (4) when copying the template, update the _FONT_FILE_RELATIVE path to point to your actual fonts/ location. If you prefer not to download a new font, you can instead point the templates to a system-installed Chinese font (e.g., SimHei or Microsoft YaHei) if available.
功能分析
Type: OpenClaw Skill Name: python-matplotlib-chinese-font Version: 1.0.0 The skill bundle provides a legitimate utility for configuring Chinese font support in matplotlib. It includes instructions to download a font file from a reputable source (babelstone.co.uk) and provides Python templates (setup_font.py, plot_utils.py) to register the font using standard matplotlib APIs. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description match the included templates and helper modules: all code focuses on loading a local TTF and setting matplotlib rcParams. There are no unrelated dependencies or credentials requested.
Instruction Scope
SKILL.md and templates only instruct downloading a font (explicit curl/wget to a public font URL), copying a template, adding the font to matplotlib, and running local tests. The instructions reference local file paths and the project's fonts directory; they do not read unrelated system files or send data to external endpoints beyond the font download.
Install Mechanism
No install spec; the skill is instruction-plus-template-only. Code files are benign Python helpers and tests. The only external network action suggested is downloading a font from a public project site, which is reasonable for this purpose.
Credentials
The skill requires no environment variables, credentials, or config paths. It only accesses local filesystem paths for fonts and writes a test PNG to the working directory — proportional to the stated purpose.
Persistence & Privilege
always is false, the skill doesn't request persistent elevated privileges, and it doesn't modify other skills or global agent configuration. It only registers fonts with matplotlib's font manager at runtime.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install python-matplotlib-chinese-font
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /python-matplotlib-chinese-font 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始发布 - 解决 matplotlib 中文显示问题
元数据
Slug python-matplotlib-chinese-font
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Python Matplotlib Chinese Font 是什么?

Configure matplotlib to display Chinese by adding a Chinese font file with font_manager.addfont(), setting rcParams['font.family'], and disabling unicode_minus. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 127 次。

如何安装 Python Matplotlib Chinese Font?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install python-matplotlib-chinese-font」即可一键安装,无需额外配置。

Python Matplotlib Chinese Font 是免费的吗?

是的,Python Matplotlib Chinese Font 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Python Matplotlib Chinese Font 支持哪些平台?

Python Matplotlib Chinese Font 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Python Matplotlib Chinese Font?

由 Earl-chen(@earl-chen)开发并维护,当前版本 v1.0.0。

💬 留言讨论