Last answered:

15 Feb 2023

Posted on:

15 Feb 2023

0

sns does not show color palette

Input

knn_palette = sns.color_palette(['#000C1F', "#29757A", "#FF5050"])
knn_palette

Instead of the virtual color pallete 

I got a number output below;

[(0.0, 0.047058823529411764, 0.12156862745098039),
 (0.1607843137254902, 0.4588235294117647, 0.47843137254901963),
 (1.0, 0.3137254901960784, 0.3137254901960784)]

1 answers ( 0 marked as helpful)
Posted on:

15 Feb 2023

0

I just got the answer. I need to update the Seaborn version to 0.12.2 (from 0.10) 

Submit an answer