matplotlib.artist.Artist.set#
- Artist.set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, mouseover=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]#
Set multiple properties at once.
Supported properties are
Property
Description
a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array and two offsets from the bottom left corner of the image
scalar or None
bool
BboxBase
or Nonebool
Patch or (Path, Transform) or None
str
bool
object
bool
list of
AbstractPathEffect
None or bool or float or callable
bool
(scale: float, length: float, randomness: float)
bool or None
str
bool
float
Examples using matplotlib.artist.Artist.set
#
Timeline with lines, dates, and text
Contouring the solution space of optimizations
Contour plot of irregularly spaced data
Draw regions that span an Axes
Create multiple subplots using plt.subplots
Angle annotations on bracket arrows
Reference for Matplotlib artists
Clip the data to the axes view limits
Project contour profiles onto a graph
Project filled contour onto a graph
3D voxel / volumetric plot with RGB colors
fill_between(x1, y1, z1, x2, y2, z2)
Arranging multiple Axes in a Figure