title: Create stacked bar with matplotlib
body: <p>I have data displayed in the following format:</p>
  <pre><code>values = np.array([10, 12,13, 5,20], [30, 7, 10, 25,2], [10, 12,13, 5,20]])
  </code></pre>
  <p>And I want to create a straight-up stacked bar chart like the following figure. Each element in the array belongs to a stacked bar.</p>
  <p><a href="https://i.stack.imgur.com/0wsKx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0wsKx.png" alt="enter image description here" /></a></p>
  <p>I have searched to see how can I do this with matplotlib, but unfortunately, I still haven't found a way to do it. How can I do this?</p>