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.findobj

XTick.findobj(match=None, include_self=True)

Find artist objects.

Recursively find all Artist instances contained in self.

match can be

  • None: return all objects contained in artist.
  • function with signature boolean = match(artist) used to filter matches
  • class instance: e.g., Line2D. Only return artists of class type.

If include_self is True (default), include self in the list to be checked for a match.