matplotlib

Travis-CI:

This Page

matplotlib.artist.ArtistInspector

class matplotlib.artist.ArtistInspector(o)

A helper class to inspect an Artist and return information about it’s settable properties and their current values.

Initialize the artist inspector with an Artist or sequence of Artists. If a sequence is used, we assume it is a homogeneous sequence (all Artists are of the same type) and it is your responsibility to make sure this is so.

__init__(o)

Initialize the artist inspector with an Artist or sequence of Artists. If a sequence is used, we assume it is a homogeneous sequence (all Artists are of the same type) and it is your responsibility to make sure this is so.

Methods

__init__(o) Initialize the artist inspector with an Artist or sequence of Artists.
aliased_name(s) return ‘PROPNAME or alias’ if s has an alias, else return
aliased_name_rest(s, target) return ‘PROPNAME or alias’ if s has an alias, else return
findobj([match]) Recursively find all matplotlib.artist.Artist instances contained in self.
get_aliases() Get a dict mapping fullname -> alias for each alias in the ArtistInspector.
get_setters() Get the attribute strings with setters for object.
get_valid_values(attr) Get the legal arguments for the setter associated with attr.
is_alias(o) Return True if method object o is an alias for another function.
pprint_getters() Return the getters and actual values as list of strings.
pprint_setters([prop, leadingspace]) If prop is None, return a list of strings of all settable properies and their valid values.
pprint_setters_rest([prop, leadingspace]) If prop is None, return a list of strings of all settable properies and their valid values.
properties() return a dictionary mapping property name -> value