matplotlib.axis
YAxis.
get_contains
Return the custom contains function of the artist if set, or None.
See also
set_contains