Seaborn is a library built on top of Matplotlib for plotting graphs, and it will be used to visualize random distributions.
If you have Python and PIP installed on your system, you can install it using the following command:
C:\Users\Your Name>pip install seaborn |
If you’re using Jupyter, you can install Seaborn with this command:
C:\Users\Your Name>!pip install seaborn |
Distplot, short for distribution plot, takes an array as input and generates a curve that represents the distribution of points within that array.
Import the pyplot object of the Matplotlib module in your code using the following statement:
import matplotlib.pyplot as plt |