matplotlib.axis.YAxis.have_units

YAxis.have_units()

Return True if units are set on any axis.