Normalizing Y axis in histogram Python

I am trying to figure out if there is a way to have plotly show a histogram that is normalized in the y axis, (i.e. shows percentage of counts).

Thanks!

2 Likes

Yes, you can plot such a histogram setting the key histnorm='percent'.

2 Likes

Thanks! Wasn’t aware of the key stuff :slight_smile: