title: Stacked histogram of grouped values in Pandas
body: <p>i am trying to create a stacked histogram of grouped values using this code:</p>
  
  <pre><code>titanic.groupby('Survived').Age.hist(stacked=True)
  </code></pre>
  
  <p>But I am getting this histogram without stacked bars. </p>
  
  <p><a href="https://i.stack.imgur.com/QSCa0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QSCa0.png" alt="enter image description here"></a></p>
  
  <p>How can i get the histogram's bar stacked without having to use matplotlib directly or iterating over groups?</p>
  
  <p>Dataset used: <a href="https://www.udacity.com/api/nodes/5454512672/supplemental_media/titanic-datacsv/download" rel="noreferrer">https://www.udacity.com/api/nodes/5454512672/supplemental_media/titanic-datacsv/download</a></p>