title: Weighted bins in a distribution hist plot
body: <p>I'm looking for a way to plot a distribution histogram, with the <code>y-axis</code> representing the total number of items for each bin (and not just the count).</p>
  
  <p>Example on the charts below:</p>
  
  <ul>
  <li>On the left, there are 55 agencies who sold between 20-30 houses</li>
  <li>On the right, the agencies having sold between 20-30 houses represent 1100 houses sold</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/O6tbU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/O6tbU.png" alt="enter image description here"></a></p>
  
  <p>It's not as trivial as it looks because one can't simply multiply each bin's count by the bin's value (maybe in the 20-30 bin, there are 54 agencies who sold 21 are 1 who sold 29).</p>
  
  <p><strong>Questions:</strong></p>
  
  <ul>
  <li>What is the name of such a chart (the one on the right)?</li>
  <li>Is there a way to plot it natively in <code>matplotlib</code> or <code>seaborn</code>?</li>
  </ul>