bio-data-visualization-multipanel-figures
Installation
SKILL.md
Version Compatibility
Reference examples tested with: ggplot2 3.5+, matplotlib 3.8+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures - R:
packageVersion('<pkg>')then?function_nameto verify parameters
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
Multi-Panel Figure Assembly
"Combine multiple plots into one figure" → Arrange subplots into a publication-ready multi-panel layout with shared legends and consistent sizing.
- R:
patchwork::wrap_plots(),cowplot::plot_grid() - Python:
matplotlib.pyplot.subplots(),fig.add_subplot()