TGraph GetHistogram()

The histogram return by TGraph::GetHistogram is the internal member fHistogram and is there only to draw the axis. See:
https://root.cern/doc/master/classTGraph.html#ac4a8e1770391785421e2b66be52930ca