When printing a canvas into a ps file I get an annoying message that I’d like to get rid of. For example when using :
canvas.Print(“example.eps”)
I get this message :
Info in TCanvas::Print: eps file example.eps has been created
I couldn’t find anything to get rid of this message. Do you have any idea ?
Thanks
set gErrorIgnoreLevel to a higher value. Note that this has to be done on module ROOT or it won’t be picked up on the C++ side. Example:
import ROOT
ROOT.gErrorIgnoreLevel = 3000
Of course, you can save the oldvalue beforehand (“oldval = ROOT.gErrorIgnoreLevel”) to reset it once the canvas.Print() is done.