afw.common.create_single_axis_histogram#

afw.common.create_single_axis_histogram(axis: AxesMixin) Hist[source]#

Creates a hist.Hist with a dataset axis and weights, alongside a given axis

Parameters:

axis (hist.Axis)

Returns:

A histogram with the given axis as well as a dataset axis and weight storage

Return type:

hist.Hist