PalettesΒΆ
Yellowbrick includes custom palettes as well as familiar ones from Matplotlib and Seaborn.
import matplotlib.pyplot as plt
from yellowbrick.style.palettes import PALETTES, SEQUENCES, color_palette
# ['blue', 'green', 'red', 'maroon', 'yellow', 'cyan']
for palette in PALETTES.keys():
color_palette(palette).plot()
plt.title(palette, loc='left')
for name, maps in SEQUENCES.items():
for num, palette in maps.items():
color_palette(palette).plot()
plt.title("{} - {}".format(name, num), loc='left')