Expert guidelines for Matplotlib development, focusing on data visualization, plotting, and creating publication-quality figures.
fig, ax = plt.subplots() for explicit controlax.plot(), ax.set_xlabel()plt.plot(), plt.xlabel() for quick, interactive plots%matplotlib inline in Jupyter notebooksax.plot()) for continuous data and trendsax.scatter()) for relationship between variablesax.bar(), ax.barh()) for categorical comparisonsax.hist()) for distributionsax.boxplot()) for statistical summariesax.imshow(), ax.pcolormesh()) for 2D dataax.annotate()) to highlight key pointsplt.subplots(nrows, ncols) for grid layoutsgridspec for complex, non-uniform layoutssharex=True, sharey=True for comparisonconstrained_layout=True or tight_layout() to prevent overlapfigsize=(width, height) in inchesplt.style.use('seaborn-v0_8'), 'ggplot'plt.style.use(['seaborn-v0_8', 'custom.mplstyle'])r'$\alpha = \frac{1}{2}$'bbox_inches='tight' to remove excess whitespacefacecolor for background colordpi appropriate for use casetransparent=True for overlaysrasterized=True for scatter plots with many pointsplt.close() after savingplt.close('all') in loops creating many figuresimport matplotlib.pyplot as pltCreate or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).