matplotlib.axis.XAxis.get_contains

XAxis.get_contains()

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

See also

set_contains