text_html_output_2.png text_html_output_1.png
def custom_palette(custom_colors):
    customPalette = sns.set_palette(sns.color_palette(custom_colors))
    sns.palplot(sns.color_palette(custom_colors), size=0.8)
    plt.tick_params(axis='both', labelsize=0, length=0)
import matplotlib.pyplot as plt
import seaborn as sns
red = ['#4f000b', '#720026', '#ce4257', '#ff7f51', '#ff9b54']
bo = ['#6930c3', '#5e60ce', '#0096c7', '#48cae4', '#ade8f4', '#ff7f51', '#ff9b54', '#ffbf69']
pink = ['#aa4465', '#dd2d4a', '#f26a8d', '#f49cbb', '#ffcbf2', '#e2afff', '#ff86c8', '#ffa3a5', '#ffbf81', '#e9b827', '#f9e576']
custom_palette(pink)