You are reading an old version of the documentation (v3.0.3). For the latest version see https://matplotlib.org/stable/
Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axis.XTick.get_contains

XTick.get_contains()

Return the _contains test used by the artist, or None for default.