original_docstring: Returns the minimum value of all bins of all histograms or graphs
      provided, including any errors.
  
      Args:
          drawables: An iterable of drawable objects, each of one of the
              following types:
  
              - A TH1 object
              - A THStack object
              - A tuple of the form (THStack, TGraph) where the latter
                represents error bars
              - A TGraph object
  
      Returns:
          The minimum value than any bin takes on in any of the provided
          drawables, as long as that minimum is larger than 0 
      
docstring: Returns the minimum value of all bins of all histograms or graphs
  provided, including any errors.
docstring_tokens: Returns the minimum value of all bins of all histograms or graphs provided including any errors .
code: def minimum_value(drawbles):
      """Returns the minimum value of all bins of all histograms or graphs
      provided, including any errors.
  
      Args:
          drawables: An iterable of drawable objects, each of one of the
              following types:
  
              - A TH1 object
              - A THStack object
              - A tuple of the form (THStack, TGraph) where the latter
                represents error bars
              - A TGraph object
  
      Returns:
          The minimum value than any bin takes on in any of the provided
          drawables, as long as that minimum is larger than 0 
      """
      # Loop over histograms
      result = 10**20 
      for drawable in drawbles:
          # Unpack things if there is an error band
          if isinstance(drawable, tuple):
              drawable, error_band = drawable
          else:
              error_band = None
  
          if is_histo(drawable):
              MIN_VAL = 0.0 # found minimum must be larger than 0
              minimum = drawable.GetMinimum(MIN_VAL) 
          elif is_stack(drawable):
              minimum = drawable.GetMinimum("nostack")
          elif is_graph(drawable):
              minimum = TMath.MinElement(drawable.GetN(), drawable.GetY())
          elif is_line(drawable):
              minimum = min(drawable.GetY1(), drawable.GetY2()) # not tested
          else:
              print type(drawable)
              raise ValueError('unsupported drawable type')
  
          if minimum < 0.0: continue
  
          # Update the result
          result = min(result, minimum)
  
      return result
code_tokens: def minimum_value ( drawbles ) : result = 10 ** 20 for drawable in drawbles : if isinstance ( drawable , tuple ) : drawable , error_band = drawable else : error_band = None if is_histo ( drawable ) : MIN_VAL = 0.0 minimum = drawable . GetMinimum ( MIN_VAL ) elif is_stack ( drawable ) : minimum = drawable . GetMinimum ( "nostack" ) elif is_graph ( drawable ) : minimum = TMath . MinElement ( drawable . GetN ( ) , drawable . GetY ( ) ) elif is_line ( drawable ) : minimum = min ( drawable . GetY1 ( ) , drawable . GetY2 ( ) ) else : print type ( drawable ) raise ValueError ( 'unsupported drawable type' ) if minimum < 0.0 : continue result = min ( result , minimum ) return result
short_docstring: Returns the minimum value of all bins of all histograms or graphs
  provided, including any errors.
short_docstring_tokens: Returns the minimum value of all bins of all histograms or graphs provided including any errors .
comment: """Returns the minimum value of all bins of all histograms or graphs
      provided, including any errors.
  
      Args:
          drawables: An iterable of drawable objects, each of one of the
              following types:
  
              - A TH1 object
              - A THStack object
              - A tuple of the form (THStack, TGraph) where the latter
                represents error bars
              - A TGraph object
  
      Returns:
          The minimum value than any bin takes on in any of the provided
          drawables, as long as that minimum is larger than 0 
      """$SEP$# Loop over histograms$SEP$# Unpack things if there is an error band$SEP$# found minimum must be larger than 0$SEP$# not tested$SEP$# Update the result