sajor2000/methodsmith / plugins/methodsmith/skills/method-figure
method-figure
VerifiedCreates and validates publication figures (ggplot2, matplotlib) with a journal-neutral clinical style and manifest. Use when the user wants a Kaplan-Meier, forest, calibration, ROC, or multi-panel figure.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.3 KB |
| assets/clinical.mplstyle | other | 1.4 KB |
| assets/clinical_style.py | script | 27.5 KB |
| assets/theme_clinical.R | other | 27.3 KB |
| references/figure-spec.md | markdown | 1015 B |
| references/figure-style-guide.md | markdown | 18.0 KB |
| references/figure-style-profiles.yaml | config | 3.1 KB |
| references/r-and-python-recipes.md | markdown | 13.5 KB |
| scripts/validate_figure_manifest.py | script | 5.4 KB |
assets/clinical.mplstyle
View on GitHub# clinical.mplstyle -- journal-neutral clinical publication figure style.
# Load with: plt.style.use("path/to/clinical.mplstyle")
# Equivalent to apply_clinical_style() in clinical_style.py, minus the
# font-availability check. Sizes are in points at final print width.
font.family: sans-serif
font.sans-serif: Arial, Helvetica, Liberation Sans, DejaVu Sans
font.size: 9
axes.titlesize: 10
axes.titleweight: bold
axes.labelsize: 10
xtick.labelsize: 8
ytick.labelsize: 8
legend.fontsize: 8
legend.title_fontsize: 8
figure.titlesize: 12
figure.titleweight: bold
axes.spines.top: False
axes.spines.right: False
axes.linewidth: 0.75
axes.edgecolor: black
axes.labelcolor: black
axes.grid: False
axes.axisbelow: True
axes.prop_cycle: cycler("color", ["0072B2", "D55E00", "009E73", "E69F00", "CC79A7", "56B4E9"])
xtick.direction: out
ytick.direction: out
xtick.major.width: 0.75
ytick.major.width: 0.75
xtick.major.size: 3
ytick.major.size: 3
xtick.minor.visible: False
ytick.minor.visible: False
xtick.color: black
ytick.color: black
lines.linewidth: 1.0
lines.markersize: 4
errorbar.capsize: 2
patch.linewidth: 0.5
legend.frameon: False
legend.loc: best
figure.figsize: 7, 4.5
figure.dpi: 100
figure.facecolor: white
figure.autolayout: False
savefig.dpi: 300
savefig.bbox: tight
savefig.pad_inches: 0.02
savefig.facecolor: white
savefig.transparent: False
pdf.fonttype: 42
ps.fonttype: 42
svg.fonttype: none
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |