docstr: Add an artist to be managed.
  
  Parameters
  ----------
  art : Artist
  
      The artist to be added.  Will be set to 'animated' (just
      to be safe).  *art* must be in the figure associated with
      the canvas this class is managing.
docstr_tok: ["Add","an","artist","to","be","managed",".","Parameters","--","--","--","--","--","art",":","Artist","The","artist","to","be","added",".","Will","be","set","to","'animated","'","(","just","to","be","safe",")",".","*","art","*","must","be","in","the","figure","associated","with","the","canvas","this","class","is","managing","."]
code: def add_artist(self, art):
      """
      Add an artist to be managed.
  
      Parameters
      ----------
      art : Artist
  
          The artist to be added.  Will be set to 'animated' (just
          to be safe).  *art* must be in the figure associated with
          the canvas this class is managing.
  
      """
      if art.figure != self.canvas.figure:
          raise RuntimeError
      art.set_animated(True)
      self._artists.append(art)
  
file_path: matplotlib/galleries/users_explain/animations/blitting.py
imports: import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 3 for calling the BlitManager obj's underlying member method code with example usage: obj.add_artist(art) without return types