Artist
classAbstract base class for objects that render into a FigureCanvas.
Typically, all visible elements in a figure are subclasses of Artist.
Add a callback function that will be called whenever one of the | |
Remove a callback based on its observer id. | |
Call all of the registered callbacks. | |
Return the cursor data for a given event. | |
Return a string representation of data. | |
If this property is set to True, the artist will be queried for custom context information when the mouse cursor moves over it. | |
Test whether the artist contains the mouse event. | |
Process a pick event. | |
Return whether the artist is pickable. | |
Define the picking behavior of the artist. | |
Return the picking behavior of the artist. |
Set whether the artist uses clipping. | |
Return whether the artist uses clipping. | |
Set the artist's clip | |
Return the clipbox. | |
Set the artist's clip path. | |
Return the clip path. |
Update this artist's properties from the dict props. | |
Copy properties from other to self. | |
Return a dictionary of all the properties of the artist. | |
Set multiple properties at once. |
Draw the Artist (and its children) using the given renderer. | |
Set whether the artist is intended to be used in an animation. | |
Return whether the artist is animated. | |
Set the alpha value used for blending - not supported on all backends. | |
Return the alpha value used for blending - not supported on all backends. | |
Set the snapping behavior. | |
Return the snap setting. | |
Set the artist's visibility. | |
Return the visibility. | |
Set the zorder for the artist. | |
Return the artist's zorder. | |
Set the agg filter. | |
Set the sketch parameters. | |
Return the sketch parameters for the artist. | |
Force rasterized (bitmap) drawing for vector graphics output. | |
Return whether the artist is to be rasterized. | |
Set the path effects. | |
Return filter function to be used for agg filter. | |
Get the artist's bounding box in display space. | |
Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation. |
Remove the artist from the figure if possible. | |
The | |
Set the | |
Return the |
Find artist objects. |
Set the artist transform. | |
Return the | |
Return whether the Artist has an explicitly set transform. |
Convert x using the unit type of the xaxis. | |
Convert y using the unit type of the yaxis. | |
Return whether units are set on any axis. |
Set the (group) id for the artist. | |
Return the group id. | |
Set a label that will be displayed in the legend. | |
Return the label used for this artist in the legend. | |
Set the url for the artist. | |
Return the url. |
| |
Set if artist is to be included in layout calculations, E.g. | |
Return boolean flag, | |
Whether the artist is 'stale' and needs to be re-drawn for the output to match the internal state of the artist. |
Decorator for Artist.draw method. | |
Return the value of an | |
Return the value of an | |
Set one or more properties on an | |
Inspect an | |
A helper class to inspect an |
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/artist_api.html