cxwx1
1
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.20.04
Platform: mac OS X 10.15
Compiler: Not Provided
tutorial fitsio/FITS_tutorial3.C
new method
std::unique_ptr<TImage> im(hdu.ReadAsImage(0));
c2->cd(i);
im->DrawClone();
bug!
snap|588x500
the TCanvas::cd() not the right way!
It seems this method draw image on global pad c2->cd() not on sub pad
old method
OK
TImage* im = hdu.ReadAsImage(0);
cd->cd(i);
im->Draw()
cxwx1
2
should I open a issue of this on github repo?
Hi,
thanks for the report, we collect bug reports at https://sft.its.cern.ch/jira/projects/ROOT , it would be great if you could report there too.
Cheers,
Enrico
As explained by @couet … this is not a bug.
1 Like
cxwx1
5
That is correct, I would made a pr on GitHub for tutorials.
system
Closed
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.