From ba53742a4d7c877ab124b5d775845e42db5d6967 Mon Sep 17 00:00:00 2001 From: yashdave003 Date: Thu, 15 Feb 2024 22:32:24 -0800 Subject: [PATCH] Added second q --- visualizations/images/visualizations.md | 6 ++++++ 1 file changed, 6 insertions(+) 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`. + +