title: Histogram with Boxplot above in Python
body: <p>Hi I wanted to draw a histogram with a boxplot appearing the top of the histogram showing the Q1,Q2 and Q3 as well as the outliers. Example phone is below. (I am using Python and Pandas)
  <a href="https://i.stack.imgur.com/7o1zE.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/7o1zE.jpg" alt="enter image description here"></a></p>
  
  <p>I have checked several examples using <code>matplotlib.pyplot</code> but hardly came out with a good example. And I also wanted to have the histogram curve  appearing like in the image below.
  <a href="https://i.stack.imgur.com/Y1DFU.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Y1DFU.jpg" alt="enter image description here"></a></p>
  
  <p>I also tried <code>seaborn</code> and it provided me the shape line along with the histogram but didnt find a way to incorporate with boxpot above it.</p>
  
  <p>can anyone help me with this to have this on <code>matplotlib.pyplot</code> or using <code>pyplot</code></p>