Version 3.1.2
matplotlib

matplotlib.axis.Tick.get_contains

Tick.get_contains()

Return the custom contains function of the artist if set, or None.

See also

set_contains