I’ve noticed that in batch mode, when creating a TCanvas, it defaults to having a title identical to the canvas name, even if they are specified differently in the constructor. Looking in the code this seems to depend on the fCanvasImp boolean, which gets its value depending on (amongst other things) the batch status.
Is this intended behaviour? I wish to create canvases in batch mode, write them to a root file, and then display them later. The title is some long descriptive text that I do not wish to have as the name.
TCanvas *c1 = new TCanvas(canvasname.c_str(),canvastitle.c_str(),1000,1000);
Draw some histograms…