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

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • 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:
    github.com/kimfetti/Videos/bl...
    Related VIDEOS:
    Full Intro to Seaborn PLAYLIST -- • Intro to Seaborn
    Helpful LINKS:
    ALL 170 seaborn color palettes blog post - / color-guide-to-seaborn...
    #seaborn #dataviz
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 31

  • @Genetics101
    @Genetics101 2 ปีที่แล้ว +6

    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.

  • @user-ko3yw9xb9p
    @user-ko3yw9xb9p 2 ปีที่แล้ว +3

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

  • @ksawerylejczak6975
    @ksawerylejczak6975 2 ปีที่แล้ว +2

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

    • @KimberlyFessel
      @KimberlyFessel  2 ปีที่แล้ว +1

      Very glad to hear that you enjoyed this explanation - cheers! 😄

  • @seanmackenziedataengineering
    @seanmackenziedataengineering 2 ปีที่แล้ว +3

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

  • @rskura
    @rskura 2 ปีที่แล้ว +1

    I like the outtakes at the end! Lol!

    • @KimberlyFessel
      @KimberlyFessel  2 ปีที่แล้ว +1

      Haha - I always wonder if anyone actually watches those. 😂Glad you liked them.

  • @joseantonioubeira295
    @joseantonioubeira295 2 ปีที่แล้ว +1

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

    • @KimberlyFessel
      @KimberlyFessel  2 ปีที่แล้ว

      Glad you liked it! Second video dropped today 😄th-cam.com/video/Eg0NJcUWLRM/w-d-xo.html

  • @foucault9978
    @foucault9978 2 ปีที่แล้ว +1

    Thank you Kimberly - great video and super helpful!

  • @sumvnit
    @sumvnit 2 ปีที่แล้ว +1

    Excellent explanation. Thanks so much! 😀

  • @GladwinNewton
    @GladwinNewton ปีที่แล้ว

    thank you. just what i needed

  • @rskura
    @rskura 2 ปีที่แล้ว +1

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

    • @KimberlyFessel
      @KimberlyFessel  2 ปีที่แล้ว

      Thanks very much - glad to hear it was helpful! 😀

  • @glaucodesouzarolim963
    @glaucodesouzarolim963 2 ปีที่แล้ว

    Kim you are an amazing teacher, tanks a lot

  • @kevindelasoie1503
    @kevindelasoie1503 2 ปีที่แล้ว +1

    High content quality, thanks !

  • @juanvicencio2390
    @juanvicencio2390 2 ปีที่แล้ว

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

  • @phillipyu6260
    @phillipyu6260 2 ปีที่แล้ว +1

    Awesome video! Learned how to make custom palettes.

    • @KimberlyFessel
      @KimberlyFessel  2 ปีที่แล้ว

      Thanks! 🎉Seaborn's level of palette customization is truly impressive!

  • @thesilenthero422
    @thesilenthero422 2 ปีที่แล้ว +2

    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 👍

  • @socgrrrl
    @socgrrrl 2 ปีที่แล้ว

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

  • @amitkulkarni7122
    @amitkulkarni7122 2 ปีที่แล้ว +1

    Nice Explaination mam.... Thank you!

  • @thepresistence5935
    @thepresistence5935 2 ปีที่แล้ว +1

    Nicely explained

  • @julial.5945
    @julial.5945 2 ปีที่แล้ว

    Thank you very much!

  • @Bee-gd4xw
    @Bee-gd4xw 2 ปีที่แล้ว

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

  • @bridgeth1373
    @bridgeth1373 ปีที่แล้ว

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

    • @KimberlyFessel
      @KimberlyFessel  ปีที่แล้ว

      Thanks! Check out this great post for the list/demo of palettes: medium.com/@morganjonesartist/color-guide-to-seaborn-palettes-da849406d44f

  • @dspry4life
    @dspry4life ปีที่แล้ว

    how do you match a colour to a hue factor