首页 > 解决方案 > 我对 matplotlib.axes 的第二个参数的作用感到困惑

问题描述

我一直在玩matplotlib.axes,我对参数“rect”的作用感到困惑。

根据文档:

rect : [left, bottom, width, height]

    The axes is build in the rectangle rect. rect is in Figure coordinates.

我注意到宽度和高度的作用,这很明显。我尝试将 left 和 bottom 更改为一堆不同的值,但没有任何变化。left 和 bottom 到底指的是什么?

标签: pythonmatplotlibscientific-computing

解决方案


推荐阅读