original_docstring: Convenience method to get an iterable object from a drawable.
  
      Args:
          drawable: Some type of drawable object.  Existing iterables are passed
              through.
          unpack_stacks: By default, THStack objects are treated as a single
              histogram.  If you would like them to be treated as a collection of
              their constituent TH1 objects, set unpack_stacks = True.
          reverse_stacks: If unpacking stacks, they are typically iterated from
              bottom to top.  Specify True for reverse_stacks to iterate from top
              to bottom.
  
      Returns:
          An iterable of the histograms in the provided collection.
      
docstring: Convenience method to get an iterable object from a drawable.
docstring_tokens: Convenience method to get an iterable object from a drawable .
code: def drawable_iterable(drawable, unpack_stacks = False, reverse_stacks = False):
      """Convenience method to get an iterable object from a drawable.
  
      Args:
          drawable: Some type of drawable object.  Existing iterables are passed
              through.
          unpack_stacks: By default, THStack objects are treated as a single
              histogram.  If you would like them to be treated as a collection of
              their constituent TH1 objects, set unpack_stacks = True.
          reverse_stacks: If unpacking stacks, they are typically iterated from
              bottom to top.  Specify True for reverse_stacks to iterate from top
              to bottom.
  
      Returns:
          An iterable of the histograms in the provided collection.
      """
      # Check if we are using a THStack
      if is_stack(drawable) and unpack_stacks:
          # Extract histograms from the stack
          result = list(drawable.GetHists())
  
          # Reverse if necessary
          if reverse_stacks:
              result.reverse()
  
          return result
      elif is_histo(drawable) or is_graph(drawable) or is_line(drawable):
          return (drawable,)
  
      # Already an iterable
      return drawable
code_tokens: def drawable_iterable ( drawable , unpack_stacks = False , reverse_stacks = False ) : if is_stack ( drawable ) and unpack_stacks : result = list ( drawable . GetHists ( ) ) if reverse_stacks : result . reverse ( ) return result elif is_histo ( drawable ) or is_graph ( drawable ) or is_line ( drawable ) : return ( drawable , ) return drawable
short_docstring: Convenience method to get an iterable object from a drawable.
short_docstring_tokens: Convenience method to get an iterable object from a drawable .
comment: """Convenience method to get an iterable object from a drawable.
  
      Args:
          drawable: Some type of drawable object.  Existing iterables are passed
              through.
          unpack_stacks: By default, THStack objects are treated as a single
              histogram.  If you would like them to be treated as a collection of
              their constituent TH1 objects, set unpack_stacks = True.
          reverse_stacks: If unpacking stacks, they are typically iterated from
              bottom to top.  Specify True for reverse_stacks to iterate from top
              to bottom.
  
      Returns:
          An iterable of the histograms in the provided collection.
      """$SEP$# Check if we are using a THStack$SEP$# Extract histograms from the stack$SEP$# Reverse if necessary$SEP$# Already an iterable