plt normalized histogram

plt.hist(data, density=True)

Here is what the above code is Doing:
1. We’re creating a figure with a size of 8×6 inches.
2. We’re creating a histogram of the data.
3. We’re setting the density to True so that the y-axis is normalized.