scientific-visualization

Create publication-ready scientific figures with matplotlib, seaborn, and plotly.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Devil-2621/gsr-research-model --skill scientific-visualization-devil-2621
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scientific-visualization
Source: https://github.com/Devil-2621/gsr-research-model/tree/main/.cursor/skills/scientific-visualization
Command: npx skills add https://github.com/Devil-2621/gsr-research-model --skill scientific-visualization-devil-2621

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires matplotlib, seaborn, plotly, numpy, pandas, scipy, PyPDF2, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Creating figures that meet journal submission standards requires juggling resolution, colorblind accessibility, typography, and journal-specific dimensions, which is error-prone when done manually. ## Core Features & Use Cases - Journal-Specific Configuration: Apply pre-configured styles for Nature, Science, Cell, PLOS, ACS, and IEEE with correct column widths, fonts, and DPI settings. - Colorblind-Safe Palettes: Use Okabe-Ito, Wong, and Paul Tol palettes plus perceptually uniform colormaps to ensure accessibility and grayscale compatibility. - Automated Export: Save figures in PDF, EPS, TIFF, or PNG at correct resolutions and verify dimension compliance before submission. - Use Case: You have experimental results in a pandas DataFrame and need a multi-panel figure for a Nature submission. Apply the Nature style preset, build panels with seaborn statistical plots, add panel labels and significance markers, then export at 1000 DPI as PDF. ## Quick Start Create a publication-quality line plot with error bars using the Nature journal style and export it as a 300 DPI PDF.

Frequently Asked Questions about scientific-visualization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create publication-quality figures in matplotlib?

Apply a publication style preset, set figure size to the target journal's column width, use colorblind-friendly colors, label axes with units, and remove top and right spines. Export as PDF or EPS at 300-1000 DPI using a save helper that handles format-specific settings.

What color palette should I use for colorblind-friendly plots?

The Okabe-Ito palette is the most widely recommended colorblind-safe choice, distinguishable across all forms of color vision deficiency. For continuous data use perceptually uniform colormaps like viridis or cividis, and avoid jet, rainbow, and red-green diverging maps.

Matplotlib vs seaborn for scientific plots?

Seaborn provides high-level statistical plotting with automatic confidence intervals and faceting, ideal for box plots, violin plots, and heatmaps. Matplotlib offers finer control for complex multi-panel layouts, and seaborn figures accept all matplotlib customizations since it builds on matplotlib.

What DPI and file format do journals require for figures?

Most journals require 300 DPI minimum for photographs, 600 DPI for combination figures, and 1000 DPI for line art. Vector formats PDF and EPS are preferred for graphs, while TIFF or PNG are used for images; JPEG should never be used for scientific data.

How do I make a multi-panel figure with panel labels?

Use matplotlib GridSpec to define the layout, add subplots for each panel, then place bold letter labels (A, B, C or lowercase for Nature) via ax.text with transform=ax.transAxes. Keep styling consistent across panels and verify text remains readable at final print size.

Why does my figure look blurry or text too small after submission?

Blurriness comes from exporting raster images below 300 DPI or scaling up small figures. Text shrinkage happens when figures are designed larger than the journal column width; design at the exact final size with fonts of at least 6-7 pt.