import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
color_current=sns.color_palette()
sns.palplot(sns.color_palette("hls",12))
data=np.random.normal(size=(20,8))+np.arange(8)/2
sns.boxplot(data=data,palette=sns.color_palette("hls",8))
sns.palplot(sns.hls_palette(8,l=.5,s=.6))
sns.palplot(sns.color_palette("Paired",10))
plt.plot([1,2],[2,4],sns.xkcd_rgb["pale red"],lw=3)
plt.plot([1,2],[4,5],sns.xkcd_rgb["medium green"],lw=3)
[]
sns.palplot(sns.color_palette("Blues"))
sns.palplot(sns.color_palette("Blues_r"))
sns.palplot(sns.light_palette("green"))
sns.palplot(sns.dark_palette("green"))
x,y=np.random.multivariate_normal([0,0],[[1,-5],[-5,1]],size=300).T
pal=sns.dark_palette("green",as_cmap=True)
sns.kdeplot(x,y,kmap=pal)
D:\ano\lib\site-packages\ipykernel_launcher.py:1: RuntimeWarning: covariance is not positive-semidefinite.
"""Entry point for launching an IPython kernel.
D:\ano\lib\site-packages\matplotlib\contour.py:967: UserWarning: The following kwargs were not used by contour: 'kmap'
s)