title: Stack a bar chart for a single series pandas
body: <p>I know how to create a stacked bar chart using a dataframe with multiple rows, but is there a way to plot a series such that each index in the series in put into a stacked bar plot?</p>
  
  <p>What I get is something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/qTa3R.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qTa3R.png" alt="dodged bar graph"></a></p>
  
  <p>Code:</p>
  
  <pre><code>series = pd.Series(3 * np.random.rand(4), index=['a', 'b', 'c', 'd'], name='series')
  series.plot(kind = 'bar')
  </code></pre>
  
  <p>But what I want is to show a,b,c, and d all in one stacked bar graph. Can somebody help?</p>