网页 综合 更新时间 2026-11-14 10:02:53

API Reference — Matplotlib 3.11.2 documentation

自动蜘蛛 matplotlib.org 正文约 918 字
Matplotlib has two interfaces. See Matplotlib Application Interfaces (APIs) for a more detailed description of both and their recommended use cases.
Axes interface (object-based, explicit)
create a Figure and one or more Axes objects, then explicitly use methods on these objects to add data, configure limits, set labels etc.
subplots: create Figure and Axes
axes: add data, limits, labels etc.
Figure: for figure-level methods
pyplot interface (function-based, implicit)
consists of functions in the pyplot module. Figure and Axes are manipulated through these functions and are only implicitly present in the background.
Alphabetical list of modules:
© Copyright 2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012–2026 The Matplotlib development team.
Created using Sphinx 9.1.0.
Built from v3.11.2-1-g879ad8ebba.
Built with the PyData Sphinx Theme 0.16.1.
访问原文 返回搜索 https://matplotlib.org/stable/api/index
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。