matplotlib.axis.YAxis.have_units

YAxis.have_units(self)

Return True if units are set on any axis.