Skip to content
Back to skills

Matplotlib Publication Plot Starter

ASecurity

Use this skill to turn a small tabular dataset into a deterministic publication-style figure and compact fit summary.

  • 38 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill matplotlib-publication-plot-starter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Matplotlib Publication Plot Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Matplotlib Publication Plot Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-matplotlib-publication-plot-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-matplotlib-publication-plot-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Matplotlib Publication Plot Starter

Use this skill to turn a small tabular dataset into a deterministic publication-style figure and compact fit summary.

## What it does

- Loads a toy TSV of `x` and `y` observations.
- Fits a simple linear trend with NumPy.
- Renders a two-panel Matplotlib figure with the fitted line and residual plot.
- Saves a PNG plus a JSON summary with fit statistics.

## When to use it

- You need a local starter for publication plots.
- You want a reproducible figure-generation pattern that can later be swapped for real data.

## Example

```bash
slurm/envs/statistics/bin/python skills/visualization-and-reporting/matplotlib-publication-plot-starter/scripts/render_publication_plot.py \
  --input skills/visualization-and-reporting/matplotlib-publication-plot-starter/examples/toy_measurements.tsv \
  --png-out scratch/matplotlib/publication_plot.png \
  --summary-out scratch/matplotlib/publication_plot_summary.json
```

## Verification

- Skill-local tests: `python3 -m unittest discover -s skills/visualization-and-reporting/matplotlib-publication-plot-starter/tests -p 'test_*.py'`
- Repository smoke: `python3 -m unittest tests.smoke.test_cross_cutting_domain_skills -v`

Files in this skill

  • SKILL.md1.2 KB
  • assets/README.md139 B
  • assets/toy_publication_plot.png49.9 KB
  • assets/toy_publication_plot_summary.json528 B
  • examples/README.md492 B
  • examples/toy_measurements.tsv40 B
  • metadata.yaml1.3 KB
  • refs.md151 B
  • scripts/render_publication_plot.py4.6 KB
  • tests/README.md123 B
  • tests/test_render_publication_plot.py2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…