In [1]:
%matplotlib inline
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
In [2]:
sns.set(rc={"figure.figsize": (6, 6)})
np.random.seed(sum(map(ord, "palettes")))
In [3]:
pretty_palette = sns.color_palette("hls", 16)
In [4]:
sns.palplot(pretty_palette)
In [5]:
%pprint
In [6]:
pretty_palette.as_hex()
Out[6]: