matplotlib.axis.YAxis.have_units

YAxis.have_units()

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