matplotlib.pyplot.box

matplotlib.pyplot.box(on=None)[源代码]

在当前轴上打开或关闭轴框。

参数:
on布尔或无

新的 Axes 盒状态。如果 None ,切换状态。

使用实例 matplotlib.pyplot.box