matplotlib 3.5.1

ParametersBackRef
getp(obj, *args, **kwargs)

Parameters

obj : `.Artist`

The queried artist; e.g., a .Line2D , a :None:None:`.Text`, or an :None:None:`~.axes.Axes`.

property : str or None, default: None

If property is 'somename', this function returns obj.get_somename() .

If it's None (or unset), it prints all gettable properties from obj. Many properties have aliases for shorter typing, e.g. 'lw' is an alias for 'linewidth'. In the output, aliases and full property names will be listed as:

property or alias = value

e.g.:

linewidth or lw = 2

Return the value of an .Artist 's property, or print all of them.

See Also

setp

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib.pyplot.setp matplotlib.pyplot.plotting

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/pyplot.py#573
type: <class 'function'>
Commit: