matplotlib.axes.Axes.set_axes_locator#

Axes.set_axes_locator(locator)[源代码]#

设置轴定位器。

参数:
定位器Callable[[Axes, Renderer], Bbox]

使用 matplotlib.axes.Axes.set_axes_locator 的示例#

HBoxDivider 和 VBoxDivider 演示

HBoxDivider and VBoxDivider demo