matplotlib.figure.Figure.add_artist#
- Figure.add_artist(artist, clip=False)[source]#
Add an
Artist
to the figure.Usually artists are added to
Axes
objects usingAxes.add_artist
; this method can be used in the rare cases where one needs to add artists directly to the figure instead.
Examples using matplotlib.figure.Figure.add_artist
#
Multiple Axes animation
Add lines directly to a figure
Add lines directly to a figure
Constrained layout guide
Annotations