On this page
matplotlib.axes.Axes.add_artist
- Axes.- add_artist(a)
- 
    Add an Artistto the axes, and return the artist.Use add_artistonly for artists for which there is no dedicated "add" method; and if necessary, use a method such asupdate_datalimto manually update the dataLim if the artist is to be included in autoscaling.If no transformhas been specified when creating the artist (e.g.artist.get_transform() == None) then the transform is set toax.transData.
Examples using matplotlib.axes.Axes.add_artist
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  © 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
 https://matplotlib.org/3.4.3/api/_as_gen/matplotlib.axes.Axes.add_artist.html