original_docstring: Returns TGraphErrors with no X error
      Args:
          hist_or_graph: A TH1 histogram or a TGraphErrors 
      
docstring: Returns TGraphErrors with no X error
docstring_tokens: Returns TGraphErrors with no X error
code: def removeXerror(hist_or_graph):
      """Returns TGraphErrors with no X error
      Args:
          hist_or_graph: A TH1 histogram or a TGraphErrors 
      """
  
      # If histogram convert to graph
      if is_histo(hist_or_graph):
          gr = TGraphErrors(hist_or_graph)
      else:
          gr = hist_or_graph.Clone()
  
      # Maually set x error to 0 
      for iPoint in xrange(gr.GetN()):
          yErr = gr.GetErrorY(iPoint)
          gr.SetPointError(iPoint, 0, yErr)
      return gr
code_tokens: def removeXerror ( hist_or_graph ) : if is_histo ( hist_or_graph ) : gr = TGraphErrors ( hist_or_graph ) else : gr = hist_or_graph . Clone ( ) for iPoint in xrange ( gr . GetN ( ) ) : yErr = gr . GetErrorY ( iPoint ) gr . SetPointError ( iPoint , 0 , yErr ) return gr
short_docstring: Returns TGraphErrors with no X error
short_docstring_tokens: Returns TGraphErrors with no X error
comment: """Returns TGraphErrors with no X error
      Args:
          hist_or_graph: A TH1 histogram or a TGraphErrors 
      """$SEP$# If histogram convert to graph$SEP$# Maually set x error to 0 