matplotlib.axis.XAxis.get_contains

XAxis.get_contains(self)

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

See also

set_contains