NumPy Tutorial · NumPy Random
Seaborn Module
Learn all about Seaborn Module in this comprehensive tutorial.
5 min read advanced
- •Seaborn is a library that uses Matplotlib underneath to plot graphs.
- •If you have Python and PIP already installed on a system, install it using this command:
- •Displot stands for distribution plot, it takes as input an array and plots a curve corresponding to the distribution of points in the array.
- •You can learn about the Matplotlib module in our Matplotlib Tutorial.
Visualize Distributions With Seaborn
Seaborn is a library that uses Matplotlib underneath to plot graphs. It will be used to visualize random distributions.

Install Seaborn.
If you have Python and PIP already installed on a system, install it using this command:
python
If you use Jupyter, install Seaborn using this command:
python
Displots
Displot stands for distribution plot, it takes as input an array and plots a curve corresponding to the distribution of points in the array.
Import Matplotlib
python
You can learn about the Matplotlib module in our Matplotlib Tutorial.
Import Seaborn
python
Plotting a Displot
python
Plotting a Displot Without the Histogram
python
Note: Note: We will be using: sns.displot(arr, kind="kde") to visualize random distributions in this tutorial.
Module quiz
Test your knowledge on this module
5 questions