import random


def level_a_colour_shuffler(level_a_list):
    """
    Take a list of the level A numbers, then
    re-map these to different number consistently
    e.g. all 0's turn to 8's
    for colouring plots purposes
    """
    
    leva_groups = list(set(level_a_list))
    random.seed(2)
    random.shuffle(leva_groups)
    lev_a_col_shuffle_dict = {i:v for i,v in enumerate(leva_groups)}
    return  [lev_a_col_shuffle_dict[c] for c in level_a_list]