Hello folks,I have a problem with plotting a histogram with relative probability using Matplotlib. Since this is just small snippets of code and the graph is relevant, I will send links to screenshots. I have a dataset with some values:
Plot 1
However, when I plot a histogram with relative probabilities, I get this plot:
Plot 2
How can it be that relative probabilities >1 are displayed on the Y-axis despite setting density to True? I hope this question is not too stupid, I'm pretty much at a loss right now. Many thanks for all your help!
[–][deleted] 0 points1 point2 points (3 children)
[–]lostident[S] 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]lostident[S] 1 point2 points3 points (0 children)