matplotlib.axis.XAxis.have_units

XAxis.have_units()

返回 True 如果在任何轴上设置了单位。