agentleFS
lyh843lyh843/AgentSkills/skills/ning-python-scientific-plotting/SKILL.md

ning-python-scientific-plotting

Skill1 starsChanged 6 months agoMITView on GitHub

Create, refine, or review scientific figures in Python using the bundled plotting notes. Use for research and publication plots, choosing charts for experimental data, distributions, model comparisons, geospatial figures, multi-panel layouts, color choices, and figure export. Not for generic website styling, image generation, or statistical conclusions unsupported by data.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the nine chapter notes as a task-specific reference library, not a sequence to read in full.

    line 13
  2. Distinctive:

    Read the relevant chapter from the table below.

    line 23
  3. Distinctive:

    All links are relative to this skill directory.

    line 38
  4. Distinctive:

    Use Chapter 9 as a historical checklist, not verified current journal policy.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Python Scientific Plotting

Use the nine chapter notes as a task-specific reference library, not a sequence to read in full. Preserve the user's research question, data, existing plotting code, and requested output.

Workflow

  1. Identify the question the figure must answer, the actual input files and columns, variable types, units, groups or paired observations, and output constraints. Inspect existing code before changing it. Ask only for missing information that materially changes the result.
  2. Read the relevant chapter from the table below. Consult design or tool notes when those choices are in scope; use the glossary for unfamiliar terms.
  3. For implementation, adapt the project's existing plotting stack. Prefer explicit Matplotlib Figure/Axes objects and use Seaborn for statistical mappings when appropriate. Optional style or specialist packages are not mandatory dependencies. Chapter snippets contain illustrative inputs and environment assumptions: check data definitions, imports, installed APIs, style registration, and fonts before reusing them.
  4. Generate the requested figure and inspect the exported result at its intended size. Check labels, units, legends, panel alignment, colorbars, clipping, and whether comparison panels use comparable scales. For figure review or conceptual advice, limit the work to the requested review or explanation.

Choose References

All links are relative to this skill directory.

TaskRead
Figure purpose, typography, color semantics, accessibility, vector/raster choicesChapter 1: Design and color
Matplotlib/Seaborn objects, styling, layout, optional ProPlot/SciencePlotsChapter 2: Plotting tools
Histograms, KDE, Q-Q/P-P plots, ECDF, distribution diagnosticsChapter 3: Univariate plots
Group comparisons, error bars, scatter/regression, time series, ROC and survival plotsChapter 4: Bivariate plots
Contours, vector fields, bubbles, ternary/3D plots, PCA, parallel coordinates, flowsChapter 5: Multivariate plots
CRS, projections, spatial joins, choropleths, proportional symbols, inset mapsChapter 6: Geospatial plots
Bland-Altman, paired observations, Taylor, forest/funnel, Venn and Smith plotsChapter 7: Specialized plots
Observed-versus-predicted comparisons and coherent multi-panel model evaluationChapter 8: Academic figure case study
Submission dimensions, formats, fonts, captions, export checksChapter 9: Journal figure requirements
Reusable workflows spanning several chaptersPatterns
Definitions and the chapter associated with a plotting termGlossary

Interpretation and Output

  • Compute plotted values and annotations from the supplied data. Do not invent observations, sample sizes, significance, or model metrics. Clearly label synthetic demonstration data when an example calls for it.
  • Preserve pairing, explain exclusions or transformations, and state what error bars represent. Specialized plots require their statistical inputs and assumptions; correlation, agreement, and causation are not interchangeable.
  • Use Chapter 9 as a historical checklist, not verified current journal policy. It summarizes a 2023 book edition. For journal-specific submission work, use the journal's current official instructions or the user's supplied guidelines; identify anything unverified when those instructions cannot be checked.
  • For figure creation or revision, deliver the requested exports and the reproducible plotting code, preferably by updating the existing script. Record relevant input paths, transformations, export settings, and any environment requirements. Prefer vector output for line art when compatible with the requested format; do not mandate extra formats or style packages.
  • Report whether rendering and visual inspection actually succeeded. If inputs, dependencies, or preview tools are unavailable, explain the limitation rather than claiming the figure was verified.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.