def get_cmap(num_labels: int) -> str:
    """Returns suitable cmap for given number of distinct labels."""
    if num_labels <= 10:
        return "tab10"
    if num_labels <= 20:
        return "tab20"
    return "inferno"