Hi everyone,
I’m trying to get the ratio of two 2D histograms from a root file and make a 2D ‘COLZ’ plot in Jupyter hub (SWAN). I can overlay these two 2D histograms, but I can’t do the same with their ratio. I’d appreciate it if you can show me where I do wrong. Here is my code:
What I meant by that is I am cloning it but the resulting canvas is still empty. Then I tried 2x2 pads with 3 heat maps, which works. I still don’t know why one single plot is not drawn/or drawn empty in the first case.
Just to make sure, this does not only happen in the notebook, right? If you run your code as a Python script and save your canvas to a PDF, you see an empty canvas?
I don’t see a reason why dividing it in pads would make it work, perhaps @couet knows?