Dear pyroot experts,
I would like to superimpose 2 TGraphs with different scales in pyroot.
I found a nice example in ROOT tutorial : see for example :
slac.stanford.edu/BFROOT/www … woGraphs.C
It works nicely with my root setup :
When simply converting this examples in pyroot, I am answered :
TCanvas::DrawFrame:0: RuntimeWarning: Drawframe must be called for the current pad only
I attached my pyroot macro.
The offending line is obviously the line 22. Do you understand why it works in ROOT but not in pyroot?
Is there any solution?
Many thanks in advance for your help,
2graphs.py (1.71 KB)