matplotlib.axis.YTick.have_units

YTick.have_units()

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