Traceback (most recent call last):
File "plot2D.py", line 67, in <module>
gr_1sigma=conts.At(0).First()
AttributeError: 'TObject' object has no attribute 'At'
Do you know a way to solve this? Thank you in any case!
Cheers,
Jie
ROOT Version: 6.22/00 Platform: MAC OS Compiler: Not Provided
Then what I believe happens is that there is no object called contours in the list of specials. What you get back is a Python proxy to a C++ null pointer.
Perhaps @couet can clarify why countours is not in the list of specials in the code you are running.
@couet could you point to what line in the C++ code makes countours appear in the list of specials? That could give us a hint about the problem in the translation to Python.
// Draw contours as filled regions, and Save points
HistStreamFn->Draw("CONT Z LIST");
c->Update(); // Needed to force the plotting and retrieve the contours in TGraphs