hist.namedhist module#

class hist.namedhist.NamedHist(*args: Any, **kwargs: Any)#

Bases: BaseHist

fill(weight: Any | None = None, sample: Any | None = None, threads: int | None = None, **kwargs: Any) Self#

Insert data into the histogram using names and return a NamedHist object. NamedHist could only be filled by names.

project(*args: int | str) Self | float | Any#

Projection of axis idx.