hist.axestuple module#
- class hist.axestuple.AxesTuple(_iterable: Iterable[Axis])#
Bases:
tuple- bin(*indexes: float) tuple[float, ...]#
Return the edges of the bins as a tuple for a continuous axis or the bin value for a non-continuous axis, when given an index.
- property centers: ArrayTuple#
- property edges: ArrayTuple#
- index(*values: float) tuple[float, ...]#
Return the fractional index(es) given a value (or values) on the axis.
- value(*indexes: float) tuple[float, ...]#
Return the value(s) given an (fractional) index (or indices).
- property widths: ArrayTuple#