original_docstring: Creates a THStack object with a unique identifier from the specified
      histograms.
  
      This method is useful due to THStack freaking out if a new THStack is
      created with the same name.
  
      Args:
          histograms: Each argument of this function after plot may be a single
              histogram, an iterable of histograms (each of which should be
              plotted), or even an existing THStack object whose component
              histograms should be included in the new stack.  The histograms
              should be specified from top-to-bottom.
  
      Returns:
          An initialized THStack object containing the specified histograms.
      
docstring: Creates a THStack object with a unique identifier from the specified
  histograms.
  
  This method is useful due to THStack freaking out if a new THStack is
  created with the same name.
docstring_tokens: Creates a THStack object with a unique identifier from the specified histograms . This method is useful due to THStack freaking out if a new THStack is created with the same name .
code: def histogram_stack(*histograms):
      """Creates a THStack object with a unique identifier from the specified
      histograms.
  
      This method is useful due to THStack freaking out if a new THStack is
      created with the same name.
  
      Args:
          histograms: Each argument of this function after plot may be a single
              histogram, an iterable of histograms (each of which should be
              plotted), or even an existing THStack object whose component
              histograms should be included in the new stack.  The histograms
              should be specified from top-to-bottom.
  
      Returns:
          An initialized THStack object containing the specified histograms.
      """
      # Generate an iterable of all histograms provided
      histograms = chain(*(drawable_iterable(h, unpack_stacks = True)
                           for h
                           in histograms))
  
      # Create a new THStack object with a unique identifier
      stack = THStack(_rand_uuid(), '')
      SetOwnership(stack, False)
  
      # Add histograms
      map(stack.Add, histograms)
  
      return stack
code_tokens: def histogram_stack ( * histograms ) : histograms = chain ( * ( drawable_iterable ( h , unpack_stacks = True ) for h in histograms ) ) stack = THStack ( _rand_uuid ( ) , '' ) SetOwnership ( stack , False ) map ( stack . Add , histograms ) return stack
short_docstring: Creates a THStack object with a unique identifier from the specified
  histograms.
short_docstring_tokens: Creates a THStack object with a unique identifier from the specified histograms .
comment: """Creates a THStack object with a unique identifier from the specified
      histograms.
  
      This method is useful due to THStack freaking out if a new THStack is
      created with the same name.
  
      Args:
          histograms: Each argument of this function after plot may be a single
              histogram, an iterable of histograms (each of which should be
              plotted), or even an existing THStack object whose component
              histograms should be included in the new stack.  The histograms
              should be specified from top-to-bottom.
  
      Returns:
          An initialized THStack object containing the specified histograms.
      """$SEP$# Generate an iterable of all histograms provided$SEP$# Create a new THStack object with a unique identifier$SEP$# Add histograms