'Find artist objects.
Recursively find all :class:`~matplotlib.artist.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.'

def findobj(self, match=None, include_self=True):

    if (match is None):
        def matchfunc(x):
            return True
    elif (isinstance(match, type) and issubclass(match, Artist)):
        def matchfunc(x):
            return isinstance(x, match)
    elif callable(match):
        matchfunc = match
    else:
        raise ValueError(u'match    must    be    None,    a    matplotlib.artist.Artist    subclass,    or    a    callable')
    artists = sum([c.findobj(matchfunc) for c in self.get_children()], [])
    if (include_self and matchfunc(self)):
        artists.append(self)
    return artists
