diff --git a/visualizations/images/visualizations.md b/visualizations/images/visualizations.md index 6293c2a..fb2ecb7 100644 --- a/visualizations/images/visualizations.md +++ b/visualizations/images/visualizations.md @@ -28,3 +28,9 @@ plt.legend(loc = 'upper left') # can specify location of legend ```

+ +## The y-axis of my `histplot` shows the count, not the density + +Look into the `sns.histplot` (documentation)[https://seaborn.pydata.org/generated/seaborn.histplot.html] and see what arguments the `stat` parameter takes in. By default, `stat=count`, but if you wanted to normalize the distribution such that the total area is 1, you could consider `stat=density`. + +