class_docstr: Base class for containers.
  
  Containers are classes that collect semantically related Artists such as
  the bars of a bar plot.
class_docstr_tok: ["Base","class","for","containers",".","Containers","are","classes","that","collect","semantically","related","Artists","such","as","the","bars","of","a","bar","plot","."]
code: def remove(self):
      for c in cbook.flatten(
          self, scalarp=lambda x: isinstance(x, martist.Artist)
      ):
          if c is not None:
              c.remove()
  
      if self._remove_method:
          self._remove_method(self)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import matplotlib.cbook
  import matplotlib.artist
label_desc: Use image node_id 5 for calling the Container obj's underlying member method code with example usage: obj.remove() without return types