figures4papers-python-plot-skill

Use when generating or refactoring Python figure scripts in the ChenLiu-1996/figures4papers style, including assets/ outputs and figure_* source folders. Trigger for requests like "draw paper figure", "reproduce figure from script", "add a new figure module", or "batch-run plotting scripts with consistent publication-quality output settings."

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "figures4papers-python-plot-skill" with this command: npx skills add charleskeeling65/figures4papers-skill/charleskeeling65-figures4papers-skill-figures4papers-python-plot-skill

figures4papers-python-plot-skill

Overview

Implement publication-ready Python plotting workflows using the figures4papers layout (assets/ plus domain-specific figure_* directories).

Workflow

  1. Detect repository layout.
  2. Create or update a dedicated figure_* folder for each figure task.
  3. Keep plotting code deterministic and save outputs to assets/.
  4. Run scripts and verify generated files exist and are non-empty.

Layout Rules

  • Keep rendered files in assets/.
  • Keep source code in figure_* directories.
  • Use stable output names under assets/ (for example: assets/figure_3.png, assets/figure_3.pdf).
  • Prefer one entry script per figure directory (for example: figure_Dispersion/plot.py).

Repository Coverage

Cover these known folders from ChenLiu-1996/figures4papers:

  • figure_CellSpliceNet
  • figure_Cflows
  • figure_Dispersion
  • figure_FPGM
  • figure_ImmunoStruct
  • figure_RNAGenScape
  • figure_brainteaser
  • figure_ophthal_review

Cover these known README figure categories:

  • Bar plots for quantitative comparison
  • Composition and breakdown charts
  • Trend/line plots
  • Heat maps
  • 3D sphere visualizations
  • Miscellaneous examples

Implementation Checklist

  • Confirm Python environment and plotting dependencies are available.
  • Add clear constants for seed, DPI, size, and output paths.
  • Save at least one vector or high-resolution output (.pdf or high-DPI .png).
  • Use tight_layout()/equivalent to avoid clipping labels.
  • Exit with non-zero code on failed render.

Quick Commands

python scripts/check_repo_coverage.py --root .
python scripts/run_figure.py --figure-dir figure_Dispersion --entry plot.py --out assets/figure_dispersion.png

References

  • Read references/repo-style.md before generating or refactoring figure folders.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated