1---
2name: scientific-visualization
3description: Publication-ready scientific figure design with matplotlib and seaborn. Use when creating journal submission figures with proper formatting, accessibility, and statistical annotations.
4metadata:
5 source: https://skillmd.com/skills/enuno/scientific-visualization
6 category: writing
7 trigger-keywords: "figure,plot,chart,visualization,matplotlib,seaborn,colorblind,publication"
8 applicable-stages: "14,17,22"
9 priority: "3"
10 version: "1.0"
11 author: researchclaw
12 references: "adapted from K-Dense-AI/claude-scientific-skills"
13---
14
15## Scientific Visualization Best Practice
16
17### Figure Design Principles
181. Every figure must have a clear, self-contained message
192. Minimize chartjunk: remove gridlines, background shading, and 3D effects
203. Use direct labeling instead of legends when possible
214. Remove top and right spines for cleaner appearance
225. Ensure all text is readable at final print size (minimum 6pt font)
23
24### Journal Figure Sizing
251. **Single column**: 3.3-3.5 inches (85-89 mm) wide
262. **1.5 column**: 4.5-5.5 inches (114-140 mm) wide
273. **Double column / full width**: 6.5-7.1 inches (165-180 mm) wide
284. Resolution: 300 DPI minimum for raster; prefer vector formats (PDF, EPS, SVG)
295. Check target journal author guidelines for exact specifications
30
31### Colorblind-Safe Design
321. Use colorblind-friendly palettes: seaborn "colorblind", Okabe-Ito, viridis, cividis
332. NEVER rely on color alone — combine with shape, pattern, or line style
343. Avoid red-green combinations; prefer blue-orange or blue-yellow contrasts
354. Test figures with a colorblind simulator before submission
365. Ensure figures work in grayscale for print journals
37
38### Multi-Panel Layouts
391. Label panels with uppercase letters: (A), (B), (C) in bold, top-left corner
402. Use consistent axis scales across panels when comparing related data
413. Share axes where appropriate to reduce redundancy
424. Maintain consistent font sizes and line widths across all panels
435. Use `plt.subplots()` with `constrained_layout=True` for automatic spacing
44
45### Statistical Annotations on Figures
461. Show individual data points alongside summary statistics (box + strip plots)
472. Always include error bars; specify type in caption (SEM, SD, 95% CI)
483. Use significance brackets with stars: * p<.05, ** p<.01, *** p<.001
494. Annotate effect sizes or key statistics directly on the figure when helpful
505. Never use bar charts for small-n data — use dot plots or box plots instead
51
52### Export and Quality Checklist
531. Save in vector format (PDF/SVG) for line art; TIFF/PNG for photographs
542. Embed fonts or convert text to outlines for cross-platform consistency
553. Verify axis labels include units in parentheses: "Time (s)", "Force (N)"
564. Ensure figure caption fully explains all symbols, abbreviations, and panels
575. Check that color-coded elements match between figure and caption