matplotlib - 在哪里可以找到有关 Matplotlib 中 AxesSubplot 的文档?

标签 matplotlib

在寻找Matplotlib get subplot (axes) size?的答案,我意识到 ax1ax2 变量属于 AxesSubplot 类。

但是,我在任何地方都找不到关于此的任何文档 - 例如:

https://matplotlib.org/3.1.1/search.html?q=axessubplot&check_keywords=yes&area=default

结果:

Your search did not match any documents

因此,AxesSubplot 类的属性和方法是否在任何地方都有记录;如果不是,要查阅哪个源文件才能找到其 API?

最佳答案

AxesSubplot 是在 matplotlib 中创建子图时动态创建的对象。因此它没有文档。但对于大多数实际用途而言,它与通常的 Axes 相同.

此外它还有SubplotBase的方法可用。

关于matplotlib - 在哪里可以找到有关 Matplotlib 中 AxesSubplot 的文档?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58992349/

相关文章:

单击绘图时绘制点的 Python GUI?

python - 实时散点图每 2 秒从 Firebase 获取数据

python - 以字符串为 x 轴绘制数据

python - 在 Seaborn 的 Regplot 中使用日期时间

python - matplotlib/seaborn : first and last row cut in half of heatmap plot

python - matplotlib 和 pandas 中的半年颜色条

python - matplotlib 的自定义箭头样式,pyplot.annotate

animation - matplotlib将动画保存为gif错误

python - 如何在seaborn barplot上设置宽度

python - mpl_toolkits basemap 散点图错误