Plotting the distribution from data using SeaBorn and MatPlotLib

A distribution can be represented by a PDF or a CDF using one of the following functions:

import seaborn as sns
sns.kdeplot(data=values, cumulative=True)
sns.histplot(values, bins=15, cumulative=True)
sns.displot(values, kde=True, bins=15, cumulative=False)

The displot function draws a histogram and a line chart of the distribution.

Parameters:

References: