parameters: (self, name=None)
return_statement: return tgraph
docstring: Return a ROOT.TGraphAsymmErrors object with contents of this Hist
docstring_summary: Return a ROOT.TGraphAsymmErrors object with contents of this Hist
docstring_tokens: Return a ROOT . TGraphAsymmErrors object with contents of this Hist
function: def TGraph(self, name=None):
          """Return a ROOT.TGraphAsymmErrors object with contents of this Hist"""
          x = array.array('f', self.x)
          y = array.array('f', self.y)
          xl = array.array('f', self.xerr[0])
          xh = array.array('f', self.xerr[1])
          yl = array.array('f', self.yerr[0])
          yh = array.array('f', self.yerr[1])
          tgraph = ROOT.TGraphAsymmErrors(self.nbins, x, y, xl, xh, yl, yh)
          tgraph.SetName(name or self.name)
          tgraph.SetTitle('%s;%s;%s' % (self.title, self.xlabel, self.ylabel))
          return tgraph
function_tokens: def TGraph ( self , name = None ) : x = array . array ( 'f' , self . x ) y = array . array ( 'f' , self . y ) xl = array . array ( 'f' , self . xerr [ 0 ] ) xh = array . array ( 'f' , self . xerr [ 1 ] ) yl = array . array ( 'f' , self . yerr [ 0 ] ) yh = array . array ( 'f' , self . yerr [ 1 ] ) tgraph = ROOT . TGraphAsymmErrors ( self . nbins , x , y , xl , xh , yl , yh ) tgraph . SetName ( name or self . name ) tgraph . SetTitle ( '%s;%s;%s' % ( self . title , self . xlabel , self . ylabel ) ) return tgraph