Seaborn Color Palette Basics | Using named and custom color palettes in Python seaborn

preview_player
Показать описание
Explore seaborn color palettes with this video tutorial on seaborn palette options. We start with the basics of seaborn's default color palette through the seaborn color_palette function and by passing palette names to the seaborn scatterplot hue argument. Then I show you how to use named color palettes and how to get the seaborn color palette names from an error message. We also look at seaborn color palette reverse options using "_r" after the palette names. I demonstrate how you can save the seaborn color palette colors as Python variables to use in other figures. Then we take a look at seaborn custom palettes. I show you how to make a sequential palette using seaborn light palette and seaborn dark palette. Then we use seaborn blend palette to make a seaborn color palette with many colors. Finally I show you how to create a dictionary for your categories which can be used as a highlighting palette for seaborn.

0:00 Palettes of videos past
0:28 Code setup
1:25 - Default color_palette
1:47 Named palettes
3:17 Extract colors as variables
4:58 Custom palettes
5:37 light_palette, dark_palette
6:18 blend_palette
7:36 Highlight palette
10:05 BLOOPS

Github CODE:

Related VIDEOS:

Helpful LINKS:

#seaborn #dataviz
Рекомендации по теме
Комментарии
Автор

Your two palette videos are terrific. Color is such an important element in graphics and your explanations finally clarified for me the use of color in seaborn.

Genetics
Автор

It's clearest explanation I ever seen. Enjoyed so much! 😃

ksawerylejczak
Автор

Very clear and educational, easy to grasp and learn. Thank you !

郭易木
Автор

Excellent ! ..a very clear explanation. Waiting for the second video.

joseantonioubeira
Автор

Nice explanation! Always a challenge getting the colors just right. This was helpful.

seanmackenziedataengineering
Автор

Thank you Kimberly - great video and super helpful!

foucault
Автор

Awesome video! Learned how to make custom palettes.

phillipyu
Автор

Well done, as usual! Very helpful. Thank you, Kim!

rskura
Автор

Excellent explanation. Thanks so much! 😀

sumvnit
Автор

Kim you are an amazing teacher, tanks a lot

glaucodesouzarolim
Автор

Thank you for this! 
Also...yea, I caught that crimson and grey palette as a subtle nod to OSU. ;)

socgrrrl
Автор

Thanks you so much! I was exactly looking how to reverse the pellete color :)

juanvicencio
Автор

Great video. I wanted to use company colours in my visual and tried recreating it in Excel which failed horribly (hundreds of thousands of records), this was much easier 👍

thesilenthero
Автор

Excellent video! Thank you. Also I where can we find the link for all 170 colors in pallet? Ty!! 😊

bridgeth
Автор

can you palette color on bar chart, like one bar at the time?

Bee-gdxw
Автор

how do you match a colour to a hue factor

dsprylife