Black Lives Matter. Please consider donating to Black Girls Code today.

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).


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

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