i am trying to create a stacked histogram of grouped values using this code:
titanic.groupby('Survived').Age.hist(stacked=True)
But I am getting this histogram without stacked bars.
How can i get the histogram's bar stacked without having to use matplotlib directly or iterating over groups?
Dataset used: https://www.udacity.com/api/nodes/5454512672/supplemental_media/titanic-datacsv/download