什么是 matplotlib?
用于在 Python 中创建静态、动画和交互式可视化的基础库。高度可定制和出版质量数据的行业标准。用于 2D 绘图、科学数据可视化、热图、轮廓、矢量场、多面板图形、LaTeX 格式的绘图、自定义可视化工具以及从 NumPy 数组或 Pandas DataFrame 进行绘图。 来源:tondevrel/scientific-agent-skills。
用于在 Python 中创建静态、动画和交互式可视化的基础库。高度可定制和出版质量数据的行业标准。用于 2D 绘图、科学数据可视化、热图、轮廓、矢量场、多面板图形、LaTeX 格式的绘图、自定义可视化工具以及从 NumPy 数组或 Pandas DataFrame 进行绘图。
通过命令行快速安装 matplotlib AI 技能到你的开发环境
来源:tondevrel/scientific-agent-skills。
The most widely used library for 2D (and basic 3D) plotting. It provides full control over every element of a figure, from line styles to axis spines.
Official docs: https://matplotlib.org/stable/index.html Gallery: https://matplotlib.org/stable/gallery/index.html (Essential for finding examples) Search patterns: plt.subplots, ax.settitle, ax.legend, plt.savefig, matplotlib.colors
| Object-Oriented (OO) | fig, ax = plt.subplots() | Recommended. Best for complex, reproducible plots. | | Pyplot (State-based) | plt.plot(x, y) | Quick interactive checks. Avoid for scripts/modules. |
用于在 Python 中创建静态、动画和交互式可视化的基础库。高度可定制和出版质量数据的行业标准。用于 2D 绘图、科学数据可视化、热图、轮廓、矢量场、多面板图形、LaTeX 格式的绘图、自定义可视化工具以及从 NumPy 数组或 Pandas DataFrame 进行绘图。 来源:tondevrel/scientific-agent-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/tondevrel/scientific-agent-skills --skill matplotlib用于在 Python 中创建静态、动画和交互式可视化的基础库。高度可定制和出版质量数据的行业标准。用于 2D 绘图、科学数据可视化、热图、轮廓、矢量场、多面板图形、LaTeX 格式的绘图、自定义可视化工具以及从 NumPy 数组或 Pandas DataFrame 进行绘图。 来源:tondevrel/scientific-agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/tondevrel/scientific-agent-skills --skill matplotlib 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/tondevrel/scientific-agent-skills