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","."]
docstr: Set the label to *s* for auto legend.
  
  ACCEPTS: string or anything printable with '%s' conversion.
docstr_tok: ["Set","the","label","to","*","s","*","for","auto","legend",".","ACCEPTS",":","string","or","anything","printable","with","'","%","s","'","conversion","."]
code: def set_label(self, s):
      """
      Set the label to *s* for auto legend.
  
      ACCEPTS: string or anything printable with '%s' conversion.
      """
      if s is not None:
          self._label = "%s" % (s,)
      else:
          self._label = None
      self.pchanged()
  
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 8 for calling the Container obj's underlying member method code with example usage: obj.set_label(s) without return types