You are reading an old version of the documentation (v2.2.4). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.have_units.html
Version 2.2.4
matplotlib
Fork me on GitHub

matplotlib.artist.Artist.have_units

Artist.have_units()[source]

Return True if units are set on the x or y axes