pymks/tools.py
def _get_color_list(n_sets):
    """
    color list for dimensionality reduction plots

    Args:
        n_sets: number of dataset

    Returns:
        list of colors for n_sets
    """
    color_list = ['#1a9850', '#f46d43', '#762a83', '#41b6c4',
                  '#ffff33', '#a50026', '#dd3497', '#ffffff',
                  '#36454f', '#081d58', '#d9ef8b', '#fee08b']

    return color_list[:n_sets]

    color list for dimensionality reduction plots

    Args:
        n_sets: number of dataset

    Returns:
        list of colors for n_sets
    
color list for dimensionality reduction plots
color list for dimensionality reduction plots
def _get_color_list(n_sets):
    color_list = ['#1a9850', '#f46d43', '#762a83', '#41b6c4',
                  '#ffff33', '#a50026', '#dd3497', '#ffffff',
                  '#36454f', '#081d58', '#d9ef8b', '#fee08b']
    return color_list[:n_sets]
def _get_color_list ( n_sets ) : color_list = [ '#1a9850' , '#f46d43' , '#762a83' , '#41b6c4' , '#ffff33' , '#a50026' , '#dd3497' , '#ffffff' , '#36454f' , '#081d58' , '#d9ef8b' , '#fee08b' ] return color_list [ : n_sets ]
color list for dimensionality reduction plots
color list for dimensionality reduction plots
"""
    color list for dimensionality reduction plots

    Args:
        n_sets: number of dataset

    Returns:
        list of colors for n_sets
    """
list of colors for n_sets
list of colors for n_sets
n_sets
number of dataset
number of dataset