correctionlib.convert.from_histogram

correctionlib.convert.from_histogram(hist: PlottableHistogram, axis_names: list[str] | None = None, flow: Content | Literal['clamp', 'error'] | None = 'error') Correction

Read any object with PlottableHistogram interface protocol

Interface as defined in https://github.com/scikit-hep/uhi/blob/v0.1.1/src/uhi/typing/plottable.py