matplotlib.artist.Artist.findobj
- Artist.findobj(match=None, include_self=True)
Find artist objects.
Recursively find all
Artistinstances contained in the artist.- Parameters:
- match
Find artist objects.
Recursively find all Artist instances contained in the artist.
A filter criterion for the matches. This can be
None: Return all objects contained in artist.
A function with signature def match(artist: Artist) -> bool.
The result will only contain artists for which the function
returns True.
A class instance: e.g., Line2D. The result will only contain
artists of this class or its subclasses (isinstance check).
Include self in the list to be checked for a match.
Artistmatplotlib.artist.Artist.findobj