matplotlib.axis.Tick.have_units

Tick.have_units()

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