In [1]:
import ROOTaaS.iPyROOT
ROOT = ROOTaaS.iPyROOT.ROOT
h = ROOT.TH1F("h1","IPython histogram", 100, 0, 10)
h.FillRandom("gaus", 10000)
h.Draw()



In [2]:
g = TGraph2D()


  
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-2-c998572adfee> in <module>()
----> 1 g = TGraph2D()

NameError: name 'TGraph2D' is not defined

In [3]:
g = ROOT.TGraph2D()


  

In [4]:
g.Draw("same")


  
The canvas contains an object which jsROOT cannot currently handle (TGraph2D). Falling back to a static png.

In [ ]: