1.. _artist-api:
2
3*********************
4``matplotlib.artist``
5*********************
6
7.. inheritance-diagram:: matplotlib.axes._axes.Axes matplotlib.axes._base._AxesBase matplotlib.axis.Axis matplotlib.axis.Tick matplotlib.axis.XAxis matplotlib.axis.XTick matplotlib.axis.YAxis matplotlib.axis.YTick matplotlib.collections.AsteriskPolygonCollection matplotlib.collections.BrokenBarHCollection matplotlib.collections.CircleCollection matplotlib.collections.Collection matplotlib.collections.EllipseCollection matplotlib.collections.EventCollection matplotlib.collections.LineCollection matplotlib.collections.PatchCollection matplotlib.collections.PathCollection matplotlib.collections.PolyCollection matplotlib.collections.QuadMesh matplotlib.collections.RegularPolyCollection matplotlib.collections.StarPolygonCollection matplotlib.collections.TriMesh matplotlib.collections._CollectionWithSizes matplotlib.contour.ClabelText matplotlib.figure.Figure matplotlib.image.AxesImage matplotlib.image.BboxImage matplotlib.image.FigureImage matplotlib.image.NonUniformImage matplotlib.image.PcolorImage matplotlib.image._ImageBase matplotlib.legend.Legend matplotlib.lines.Line2D matplotlib.offsetbox.AnchoredOffsetbox matplotlib.offsetbox.AnchoredText matplotlib.offsetbox.AnnotationBbox matplotlib.offsetbox.AuxTransformBox matplotlib.offsetbox.DrawingArea matplotlib.offsetbox.HPacker matplotlib.offsetbox.OffsetBox matplotlib.offsetbox.OffsetImage matplotlib.offsetbox.PackerBase matplotlib.offsetbox.PaddedBox matplotlib.offsetbox.TextArea matplotlib.offsetbox.VPacker matplotlib.patches.Arc matplotlib.patches.Arrow matplotlib.patches.Circle matplotlib.patches.CirclePolygon matplotlib.patches.ConnectionPatch matplotlib.patches.Ellipse matplotlib.patches.FancyArrow matplotlib.patches.FancyArrowPatch matplotlib.patches.FancyBboxPatch matplotlib.patches.Patch matplotlib.patches.PathPatch matplotlib.patches.StepPatch matplotlib.patches.Polygon matplotlib.patches.Rectangle matplotlib.patches.RegularPolygon matplotlib.patches.Shadow matplotlib.patches.Wedge matplotlib.projections.geo.AitoffAxes matplotlib.projections.geo.GeoAxes matplotlib.projections.geo.HammerAxes matplotlib.projections.geo.LambertAxes matplotlib.projections.geo.MollweideAxes matplotlib.projections.polar.PolarAxes matplotlib.quiver.Barbs matplotlib.quiver.Quiver matplotlib.quiver.QuiverKey matplotlib.spines.Spine matplotlib.table.Cell matplotlib.table.CustomCell matplotlib.table.Table matplotlib.text.Annotation matplotlib.text.Text
8   :parts: 1
9   :private-bases:
10
11
12
13.. automodule:: matplotlib.artist
14   :no-members:
15   :no-undoc-members:
16
17
18``Artist`` class
19================
20
21.. autoclass:: Artist
22   :no-members:
23   :no-undoc-members:
24
25Interactive
26-----------
27
28.. autosummary::
29   :toctree: _as_gen
30   :nosignatures:
31
32   Artist.add_callback
33   Artist.remove_callback
34   Artist.pchanged
35   Artist.get_cursor_data
36   Artist.format_cursor_data
37   Artist.mouseover
38   Artist.contains
39   Artist.set_contains
40   Artist.get_contains
41   Artist.pick
42   Artist.pickable
43   Artist.set_picker
44   Artist.get_picker
45
46Clipping
47--------
48
49.. autosummary::
50   :toctree: _as_gen
51   :nosignatures:
52
53   Artist.set_clip_on
54   Artist.get_clip_on
55   Artist.set_clip_box
56   Artist.get_clip_box
57   Artist.set_clip_path
58   Artist.get_clip_path
59
60Bulk Properties
61---------------
62
63.. autosummary::
64   :toctree: _as_gen
65   :nosignatures:
66
67   Artist.update
68   Artist.update_from
69   Artist.properties
70   Artist.set
71
72Drawing
73-------
74
75.. autosummary::
76   :toctree: _as_gen
77   :nosignatures:
78
79   Artist.draw
80   Artist.set_animated
81   Artist.get_animated
82
83   Artist.set_alpha
84   Artist.get_alpha
85   Artist.set_snap
86   Artist.get_snap
87   Artist.set_visible
88   Artist.get_visible
89   Artist.zorder
90   Artist.set_zorder
91   Artist.get_zorder
92   Artist.set_agg_filter
93
94   Artist.set_sketch_params
95   Artist.get_sketch_params
96   Artist.set_rasterized
97   Artist.get_rasterized
98   Artist.set_path_effects
99   Artist.get_path_effects
100
101   Artist.get_agg_filter
102   Artist.get_window_extent
103   Artist.get_transformed_clip_path_and_affine
104
105Figure and Axes
106---------------
107
108.. autosummary::
109   :toctree: _as_gen
110   :nosignatures:
111
112   Artist.remove
113
114   Artist.axes
115
116   Artist.set_figure
117   Artist.get_figure
118
119Children
120--------
121
122.. autosummary::
123   :toctree: _as_gen
124   :nosignatures:
125
126   Artist.get_children
127   Artist.findobj
128
129Transform
130---------
131
132.. autosummary::
133   :toctree: _as_gen
134   :nosignatures:
135
136   Artist.set_transform
137   Artist.get_transform
138   Artist.is_transform_set
139
140Units
141-----
142
143.. autosummary::
144   :toctree: _as_gen
145   :nosignatures:
146
147   Artist.convert_xunits
148   Artist.convert_yunits
149   Artist.have_units
150
151Metadata
152--------
153
154.. autosummary::
155   :toctree: _as_gen
156   :nosignatures:
157
158   Artist.set_gid
159   Artist.get_gid
160   Artist.set_label
161   Artist.get_label
162   Artist.set_url
163   Artist.get_url
164
165Miscellaneous
166-------------
167
168.. autosummary::
169   :toctree: _as_gen
170   :nosignatures:
171
172   Artist.sticky_edges
173   Artist.set_in_layout
174   Artist.get_in_layout
175   Artist.stale
176
177Functions
178=========
179
180.. autosummary::
181   :toctree: _as_gen
182   :nosignatures:
183
184   allow_rasterization
185   get
186   getp
187   setp
188   kwdoc
189   ArtistInspector
190