def _check_any_na_in_list(x: list[int | float]) -> None:
    """
    Check whether a list of values contains any missing values; if so, raise an error.
    """

    if _any_na_in_list(x):
        raise ValueError("The list of values cannot contain missing values.")

    Check whether a list of values contains any missing values; if so, raise an error.
    
great_tables/_utils_nanoplots.py