.. _artist-api:

*********************
``matplotlib.artist``
*********************

.. automodule:: matplotlib.artist
   :no-members:
   :no-undoc-members:

Inheritance Diagrams
====================

.. 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.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.ContourSet matplotlib.contour.QuadContourSet matplotlib.figure.FigureBase matplotlib.figure.Figure matplotlib.figure.SubFigure 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.Annulus 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.Polygon matplotlib.patches.Rectangle matplotlib.patches.RegularPolygon matplotlib.patches.Shadow matplotlib.patches.StepPatch 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.projections.polar.RadialAxis matplotlib.projections.polar.RadialTick matplotlib.projections.polar.ThetaAxis matplotlib.projections.polar.ThetaTick matplotlib.quiver.Barbs matplotlib.quiver.Quiver matplotlib.quiver.QuiverKey matplotlib.spines.Spine matplotlib.table.Cell matplotlib.table.Table matplotlib.text.Annotation matplotlib.text.Text matplotlib.tri.TriContourSet
   :parts: 1
   :private-bases:


``Artist`` class
================

.. autoclass:: Artist
   :no-members:
   :no-undoc-members:

Interactive
-----------

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.add_callback
   Artist.remove_callback
   Artist.pchanged
   Artist.get_cursor_data
   Artist.format_cursor_data
   Artist.set_mouseover
   Artist.get_mouseover
   Artist.mouseover
   Artist.contains
   Artist.pick
   Artist.pickable
   Artist.set_picker
   Artist.get_picker

Clipping
--------

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.set_clip_on
   Artist.get_clip_on
   Artist.set_clip_box
   Artist.get_clip_box
   Artist.set_clip_path
   Artist.get_clip_path

Bulk Properties
---------------

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.update
   Artist.update_from
   Artist.properties
   Artist.set

Drawing
-------

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.draw
   Artist.set_animated
   Artist.get_animated

   Artist.set_alpha
   Artist.get_alpha
   Artist.set_snap
   Artist.get_snap
   Artist.set_visible
   Artist.get_visible
   Artist.zorder
   Artist.set_zorder
   Artist.get_zorder
   Artist.set_agg_filter

   Artist.set_sketch_params
   Artist.get_sketch_params
   Artist.set_rasterized
   Artist.get_rasterized
   Artist.set_path_effects
   Artist.get_path_effects

   Artist.get_agg_filter
   Artist.get_window_extent
   Artist.get_tightbbox
   Artist.get_transformed_clip_path_and_affine

Figure and Axes
---------------

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.remove

   Artist.axes

   Artist.set_figure
   Artist.get_figure

Children
--------

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.get_children
   Artist.findobj

Transform
---------

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.set_transform
   Artist.get_transform
   Artist.is_transform_set

Units
-----

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.convert_xunits
   Artist.convert_yunits
   Artist.have_units

Metadata
--------

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.set_gid
   Artist.get_gid
   Artist.set_label
   Artist.get_label
   Artist.set_url
   Artist.get_url

Miscellaneous
-------------

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   Artist.sticky_edges
   Artist.set_in_layout
   Artist.get_in_layout
   Artist.stale

Functions
=========

.. autosummary::
   :template: autosummary.rst
   :toctree: _as_gen
   :nosignatures:

   allow_rasterization
   get
   getp
   setp
   kwdoc
   ArtistInspector
