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

Kimberly Fessel
Kimberly Fessel
23.5 هزار بار بازدید - 4 سال پیش - This Seaborn FacetGrid tutorial shows
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:
https://github.com/kimfetti/Videos/bl...

Related Videos:
Seaborn histplot -- Seaborn histplot | How to make a Seab...
Seaborn scatterplot -- Seaborn scatter plot | How to make an...
Seaborn kdeplot -- What is kernel density estimation? An...
Full Intro to Seaborn PLAYLIST -- Intro to Seaborn

#seaborn #dataviz
4 سال پیش در تاریخ 1399/10/22 منتشر شده است.
23,524 بـار بازدید شده
... بیشتر