smithery.ai

matplotlib-jp-diagram

Generates Python scripts using matplotlib for data visualization with Japanese font support (Noto Sans JP) and specific naming conventions.

First seen Mar 28, 2026

Installation

$ npx skills add https://smithery.ai

Summary

  • Generates Python scripts using matplotlib for data visualization with Japanese font support (Noto Sans JP) and specific naming conventions.
  • Use when requested to create diagrams, charts, or plots that require Japanese text or follow a specific filename pattern (foo-diagram.py -> foo-diagram.png).

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,721 B
  • docs SUMMARY.md 326 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

matplotlib-jp-diagram

This skill provides a standard way to generate matplotlib diagrams with Japanese font support and consistent output naming.

Guidelines

  1. Mandatory Font Configuration: Always include the following line before plotting:

``python import matplotlib.pyplot as plt plt.rcParams['font.family'] = 'Noto Sans JP' ``

  1. File Naming Convention:

- The Python script should be named with a suffix like -diagram.py (e.g., performance-diagram.py). - The output image must be a PNG file with the exact same base name (e.g., performance-diagram.png).

  1. Output Logic:

Ensure the script automatically saves the diagram to the correct PNG path when executed.

``python import os outputpath = os.path.splitext(os.path.basename(file))[0] + ".png" plt.savefig(outputpath) ``

  1. Appropriate Diagrams:

- Choose the chart type (line, bar, scatter, etc.) that best represents the data. - Include appropriate labels, titles, and legends in Japanese where applicable.

Workflow

  1. Identify the data to be visualized.
  2. Determine the script name (e.g., stats-diagram.py).
  3. Generate the script using the template logic.
  4. If requested, execute the script to verify output.

Reference Template

See [references/template.py](references/template.py) for a complete example structure.