matplotlib.axis.XAxis.set_visible

XAxis.set_visible(b)

设置艺术家的可见性。

参数:
b布尔

使用实例 matplotlib.axis.XAxis.set_visible