matplotlib-best-practices by mindrally/skills
npx skills add https://github.com/mindrally/skills --skill matplotlib-best-practices专注于数据可视化、绘图和创建出版质量图形的 Matplotlib 开发专家指南。
fig, ax = plt.subplots() 以获得显式控制ax.plot()、ax.set_xlabel()plt.plot()、plt.xlabel() 进行快速、交互式绘图%matplotlib inline广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
ax.plot()) 用于连续数据和趋势ax.scatter()) 用于变量间的关系ax.bar(), ax.barh()) 用于分类比较ax.hist()) 用于分布ax.boxplot()) 用于统计摘要ax.imshow(), ax.pcolormesh()) 用于二维数据ax.annotate()) 来突出关键点plt.subplots(nrows, ncols) 进行网格布局gridspec 进行复杂、非均匀布局sharex=True、sharey=True 共享坐标轴以便比较constrained_layout=True 或 tight_layout() 防止重叠figsize=(width, height),单位为英寸plt.style.use('seaborn-v0_8')、'ggplot'plt.style.use(['seaborn-v0_8', 'custom.mplstyle'])r'$\alpha = \frac{1}{2}$'bbox_inches='tight' 去除多余空白facecolor 以指定背景颜色dpitransparent=True 进行叠加rasterized=Trueplt.close() 关闭图形plt.close('all')import matplotlib.pyplot as plt每周安装数
139
代码仓库
GitHub 星标数
43
首次出现
2026年1月25日
安全审计
安装于
opencode117
gemini-cli116
codex113
cursor113
github-copilot106
amp100
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 pltWeekly Installs
139
Repository
GitHub Stars
43
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode117
gemini-cli116
codex113
cursor113
github-copilot106
amp100
Android 整洁架构指南:模块化设计、依赖注入与数据层实现
1,400 周安装
Next.js 环境变量配置完整指南:优先级、安全性与最佳实践
105 周安装
Garmin Connect CLI 工具:命令行管理健康数据、活动记录与训练指标
71 周安装
Groove Daily Start:智能工作日启动工具,自动化任务管理与每日回顾,提升开发效率
119 周安装
API设计模式最佳实践指南:RESTful原则、错误处理、分页与安全性
102 周安装
Groove Work Plan:AI辅助代码库分析与项目计划生成工具 | 自动化开发流程
119 周安装
Groove Git日志自动化工具 - 自动生成每日Git提交摘要和变更记录
119 周安装