diff --git a/benchmarks/rich/draw_benchmark.py b/benchmarks/rich/draw_benchmark.py index c128db6b251a5d53942e93ee16ee308e3ff85033..df220f6e1dcc56fc48958e6ae1efc85019dc655a 100755 --- a/benchmarks/rich/draw_benchmark.py +++ b/benchmarks/rich/draw_benchmark.py @@ -106,6 +106,8 @@ def draw_profile(hist, rad, style="BOX"): p.GetXaxis().SetRangeUser(0, RADIATORS[rad]['p_max']) if 'rindex_ref' in RADIATORS[rad] and 'theta_vs_p' in hist.GetName(): p.GetYaxis().SetRangeUser(0, 1.5*calculate_theta_max(RADIATORS[rad]['rindex_ref'])) + if 'thetaResid_vs' in hist.GetName(): + p.GetYaxis().SetRangeUser(-RESID_MAX, RESID_MAX) hist_rebinned.Draw(style) prof.Draw("SAME")