Home » Science & Technology » Seaborn displot | What is the displot vs distplot? How to make a Python Seaborn distribution plot

Seaborn displot | What is the displot vs distplot? How to make a Python Seaborn distribution plot

Written By Kimberly Fessel on Monday, Mar 15, 2021 | 09:00 AM

 
This Seaborn displot tutorial video introduces you to one of Seaborns newest plots: the displot. Released in Seaborn 0.11.0, the displot is an updated form of the distplot. I begin by explaining the similarities and differences between these two, and then I demo the Seaborn code basics of the displot. We make a histogram, KDE plot, and an ECDF plot. I also add a rug plot to these figures. Next, I show you a new option: plotting the distributions of two variables with the displot. This is the bivariate or 2D Seaborn displot. We then walk through examples of leveraging the Seaborn FacetGrid within the displot, and I show you how to make rows or columns of figures. Finally, we explore styling the displot by passing keywords to the displot, to the underlying histplot or kdeplot, and to the underlying FacetGrid. Hope you enjoy seeing the excellent new updates to the Seaborn distribution plot and comparing the displot vs distplot! 0:00 Introduction 0:11 Seaborn displot vs distplot 1:05 Displot coding basics 4:47 Bivariate (2D) Displot 5:59 Displot FacetGrid 8:22 Styling 10:35 FacetGrid Styling 12:36 Conclusion Github code: https://github.com/kimfetti/Videos/blob/master/Seaborn/19_displot.ipynb Related Videos: Seaborn FacetGrid -- https://youtu.be/YYeqJllXHxM Seaborn KDEplot -- https://youtu.be/DCgPRaIDYXA Seaborn histplot -- https://youtu.be/Bjz00ygERxY Seaborn disTplot (old version) -- https://youtu.be/fJoR3QsfXa0 Full Intro to Seaborn PLAYLIST -- https://www.youtube.com/playlist?list=PLtPIclEQf-3cG31dxSMZ8KTcDG7zYng1j #seaborn #dataviz