Seaborn FacetGrid | How to make Small Multiples with Python Seaborn | Titles, Hue, Legend

preview_player
Показать описание
This Seaborn FacetGrid tutorial shows you how to make and style a FacetGrid using Python Seaborn. I first introduce you to the concept of small multiples and making Seaborn small multiples with the facet grid. We walk through the row and col options, and I then show you how to use the Seaborn FacetGrid map and map_dataframe methods to add plots to the FacetGrid. I demonstrate how to make a seaborn FacetGrid histogram as well as scatter plots. I then teach you how to style the facet grid using methods and attributes including updating the Seaborn FacetGrid title through title templates and adding axes labels. I also show you how to use sharey and ylim within the facet grid. We next talk about displaying additional categorical data through the Seaborn FacetGrid hue, and I also show you how to add a hue legend. I show you code for updating the palette and how to style a Seaborn FacetGrid KDEplot. Finally, I demo a custom Python function that you can use to customize the facet grid however you like!

0:00 Introduction
0:21 Intro to Small Multiples
1:03 FacetGrid Code Basics
5:49 FacetGrid Methods & Attributes (axes labels, titles, sharey, ylim)
10:16 Hue & Custom Functions
15:18 Conclusion

Github Code:

Related Videos:

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

Spent several frustrating days looking for something like this to plug my knowledge gap. Exactly what I needed...world's greatest tutorial!

MichaelMohr-rzwf
Автор

Hi! Your videos are awesome. Very clear presentation and powerful contents. Thank you!

MsEdnira
Автор

Your explanation saves me a lot of time. Thanks a lot.

md.humayun-bin-akram
Автор

I have never seen an explanation so beautifully put in a video. Damn! Instant subscribe

avijitdey
Автор

Thanks a lot! I now understand FacetGrid! This will be very useful.

brianoliver
Автор

Seaborn FacetGrid is just awesome, and so is this tutorial video! Many thanks!

FarizDarari
Автор

Your videos are of great value, as they are concise, practical and clear. I full-heartedly recommended them on my Twitter feed for quant investors. Keep up the good work!

ralphsueppel
Автор

You really are saving my life with your videos! Thank you

Kiki-gg
Автор

Here you are saving lives again. Or more specifically, hours of life with these thorough but succinct videos..
Totally in love with you and your videos 🙂

lade_edal
Автор

thank you so much for the teaching. bravo !!

espua
Автор

Hey thank you so much for your awesome, organised and detailed didatic method! The best I've seen so far on Youtube!

I'd like to make a request. Can you please make a regular expressions series? I'd like to learn how to use them better on strings recognition and text manipulation.

BrunoAraujo-polm
Автор

Kudos for lucid explanation!! Thank you from India.

rajeshsaha
Автор

Thank you! I was struggling with the hue's legend color and couldn't find the solution anywhere. Awesome tutorial btw.

Alexr
Автор

Thanks that is what I was looking for.

CaribouDataScience
Автор

Keep it up!!! you're the best....

muhammadfitrie
Автор

Hi Kimberly, thank you for the video :)
Could you please let me know hoe exactly is the value on the y axis determined when facet grid is used? I have used it a couple of times but never figured how the y axis values are determined.

riniantony
Автор

Hi Kimberly! Thank you for this video. I am finding FacetGrids so useful and easy to use. The only exception is that I created 3 count plots in the FacetGrid and now I am trying to sort the bars by frequency. I created a function for this purpose to insert it in map_dataframe(), but is not working. I have tried multiple things and I cannot get my count plots to be sorted descending so they are visually easier to read. Any ideas? Thank you!

juana
Автор

Hi, I have a question, for the 'col' argument, I have nine values. How can I make it into a grid instead of nine columns in a row? (like a 4x3 grid)

davideeckhout
Автор

Great video! I spent so many days solving the problems and finally I am here! thank you !
I made some nice graphs but they have low resolution or low image quality when I save them as pictures, do you have any idea of that?
thank you again :)

sumengsumeng
Автор

Hi Kymberly, thanks for the video
Can I change a different marker within each graph in the small multiples in Seaborn?

elkegonzales
visit shbcf.ru