Ratio plot doesn't show

hello experts
I’m using this script
compare_ptbinned_with_inclusive_ratio.py (2.5 KB)

to plot two histograms and ratio between them, but the ratio plot part is blank, i have no clue what part is wrong? thanks a lot



Try

   h3.DrawCopy("ep")

in line 94.

1 Like

it works, thank you.

i think i found another solution that change the last part of code(get rid of function ratioplot) as in picture but i dont know why it works

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.