def MakeCdfFromHist(hist, label=None):
 if (label is None):
  label = hist.label
 return Cdf(hist, label=label)

def MakeCdfFromHist ( hist , label = None ) : if ( label is None ) : label = hist . label return Cdf ( hist , label = label )
makes a cdf from a hist object .