data=np.random.normal(0,1,1000)h_obj=hist.new.Reg(40,-4,4).Weight().fill(data)fig,ax=plt.subplots()mh.histplot(h_obj,ax=ax)# Note that errorbars are now automatically plotted because hist.Hist inputs objects has .variances() available
data=np.random.normal(0,1,1000)h_obj=hist.new.Reg(40,-4,4).Weight().fill(data)fig,ax=plt.subplots()mh.histplot(h_obj,ax=ax)# Note that errorbars are now automatically plotted because hist.Hist inputs objects has .variances() available
data=np.random.normal(0,1,1000)h_obj=hist.new.Reg(40,-4,4).Weight().fill(data)fig,ax=plt.subplots()mh.histplot(h_obj,ax=ax)# Note that errorbars are now automatically plotted because hist.Hist inputs objects has .variances() available
data=np.random.normal(0,1,1000)h_obj=hist.new.Reg(40,-4,4).Weight().fill(data)fig,ax=plt.subplots()mh.histplot(h_obj,ax=ax)# Note that errorbars are now automatically plotted because hist.Hist inputs objects has .variances() available
data=np.random.normal(0,1,1000)h_obj=hist.new.Reg(40,-4,4).Weight().fill(data)fig,ax=plt.subplots()mh.histplot(h_obj,ax=ax)# Note that errorbars are now automatically plotted because hist.Hist inputs objects has .variances() available
data=np.random.normal(0,1,1000)h_obj=hist.new.Reg(40,-4,4).Weight().fill(data)fig,ax=plt.subplots()mh.histplot(h_obj,ax=ax)# Note that errorbars are now automatically plotted because hist.Hist inputs objects has .variances() available
data=np.random.normal(0,1,1000)h_obj=hist.new.Reg(40,-4,4).Weight().fill(data)fig,ax=plt.subplots()mh.histplot(h_obj,ax=ax)# Note that errorbars are now automatically plotted because hist.Hist inputs objects has .variances() available
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='band',alpha=0.5,label='Band histogram',ax=ax)# Can be used to visualize uncertainties
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='bar',label='Bar histogram',ax=ax)# If only one histogram is provided, it will be treated as "fill" histtype, if multiple data are given the bars are arranged side by side (see next section)
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='barstep',label='Barstep histogram',ax=ax)# If one histogram is provided, it will be treated as "step" histtype. If multiple data are given the bars are arranged side by side (see next section)
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='band',alpha=0.5,label='Band histogram',ax=ax)# Can be used to visualize uncertainties
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='bar',label='Bar histogram',ax=ax)# If only one histogram is provided, it will be treated as "fill" histtype, if multiple data are given the bars are arranged side by side (see next section)
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='barstep',label='Barstep histogram',ax=ax)# If one histogram is provided, it will be treated as "step" histtype. If multiple data are given the bars are arranged side by side (see next section)
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='band',alpha=0.5,label='Band histogram',ax=ax)# Can be used to visualize uncertainties
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='bar',label='Bar histogram',ax=ax)# If only one histogram is provided, it will be treated as "fill" histtype, if multiple data are given the bars are arranged side by side (see next section)
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='barstep',label='Barstep histogram',ax=ax)# If one histogram is provided, it will be treated as "step" histtype. If multiple data are given the bars are arranged side by side (see next section)
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='band',alpha=0.5,label='Band histogram',ax=ax)# Can be used to visualize uncertainties
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='bar',label='Bar histogram',ax=ax)# If only one histogram is provided, it will be treated as "fill" histtype, if multiple data are given the bars are arranged side by side (see next section)
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='barstep',label='Barstep histogram',ax=ax)# If one histogram is provided, it will be treated as "step" histtype. If multiple data are given the bars are arranged side by side (see next section)
h=hist.new.Reg(40,-4,4).Weight().fill(np.random.normal(0,1,1000))fig,ax=plt.subplots()mh.histplot(h,histtype='band',alpha=0.5,label='Band histogram',ax=ax)# Can be used to visualize uncertainties