uproot.behaviors.TAxis.AxisTraits
Defined in uproot.behaviors.TAxis on line 11.
- class uproot.behaviors.TAxis.AxisTraits(axis)
Describes read-only properties of a histogram axis.
For example,
axis.traits.discrete
is True if the histogram has labels; False otherwise.
circular
- AxisTraits.circular
True if the axis “wraps around” (always False for ROOT histograms).
discrete
- AxisTraits.discrete
if they have string-valued labels.
- Type:
True if bins are discrete