Hello all,
I’m trying to export histograms (with vertical lines overlayed) created in a “for” loop to a single PDF file with the goal to have all 100 histograms in the file. I have been reading similar posts whose problems are similar to mine but I haven’t been able to work it out. ROOT does export all 100 histograms to a PDF file, however, each file is subsequently overwritten by the next histogram resulting in the file containing only the last histogram. The code which is of concern is:
I feel like I’m close but any help would be appreciated. Thanks in advance!
ROOT Version: 6.24.06
Platform: Windows 11
Compiler: Jupyter Notebook