Matplotlib 是一个用于 Python 的绘图库(可视化库),常用来生成折线图、柱状图、散点图、直方图等,广泛应用于数据分析、科学计算与教学展示。(也常特指其模块 matplotlib.pyplot 的作图接口。)
/ˈmætplɒtˌlɪb/
I made a line chart with Matplotlib.
我用 Matplotlib 画了一张折线图。
Using Matplotlib, we visualized the experiment results with multiple subplots and saved the figure as a high-resolution PNG.
我们使用 Matplotlib 通过多个子图把实验结果可视化,并将图像以高分辨率 PNG 格式保存。
名称通常被解释为 “MATLAB + plot + lib(ibrary)” 的组合:强调它最初在风格与用途上与 MATLAB 的绘图体验相近,plot 表示“绘图”,lib 是“库”。该项目由 John D. Hunter 发起,后来成为 Python 生态中最经典的可视化基础库之一。