rootpy.plotting.utils.get_band

rootpy.plotting.utils.get_band(low_hist, high_hist, middle_hist=None)[source]

Convert the low and high histograms into a TGraphAsymmErrors centered at the middle histogram if not None otherwise the middle between the low and high points, to be used to draw a (possibly asymmetric) error band.