← Files ClaraARCHIVED FILE

modules/distribution-analysis/vendor/modules/charting/__init__.py

620 Bytes · Oct 2, 2026 · 00:29 UTC

↓ Download file

"""Charting module public API."""

import logging
from typing import Any

from .plot_horizontal_bar import plot_horizontal_bar

try:  # pragma: no cover - during tests this import may fail
    from .polars_helpers import unique_values_lazy
except Exception as e:  # pragma: no cover - provide a stub if helpers are patched
    logging.exception(e)

    def unique_values_lazy(*args: Any, **kwargs: Any) -> None:
        """Placeholder used when :mod:`polars_helpers` is not fully available."""
        raise NotImplementedError("unique_values_lazy unavailable")


__all__ = ["plot_horizontal_bar", "unique_values_lazy"]

SHA-256: 23163594f883b6262202001df66075390e9e30e23df2a858cff3b9b116d841e6