seaborn icon indicating copy to clipboard operation
seaborn copied to clipboard

`sns.color_palette(as_cmap= True)` returns no cmap

Open v4hn opened this issue 2 years ago • 0 comments

Tested in 0.12.2

v= sns.color_palette(as_cmap= True)
print(f"{type(v)} - {v}")

outputs

<class 'list'> - ['#4C72B0', '#55A868', '#C44E52', '#8172B2', '#CCB974', '#64B5CD']

I expected it should return a matplotlib.colors.ListedColormap

v4hn avatar Aug 25 '23 10:08 v4hn