Plotting a stacked histogram with Pandas with Group By

Viewed 7937

I am working with a dataset that looks as follows:

Gender, Height, Width Male, 23.4, 4.4 Female, 45.4, 4.5

I'd like to visualize the stacked histograms of height and width. I'm hoping to have two stacked histograms per plot (one for each gender).

This is the stacked Histogram from the documentation. If there was three genders, this might be a good graph for width.

enter image description here

I hope you understand what I mean, I've been slamming my head at this for hours.

1 Answers
Related