title: Unable to plot Double Bar, Bar plot using pyplot for ndarray
body: <p>I have got these 2 <code>{ndarray}</code> which has 3 values of Positive, Negative and Neutral score.</p>
  
  <pre><code>&gt;&gt;&gt;y1
  array([82, 80, 63])
  &gt;&gt;&gt;y2
  array([122,  73,  30])
  </code></pre>
  
  <p>For same I need <code>y1[0]</code> and <code>y2[0]</code> to be plotted together as they are corresponding as positive values, same goes with other 2 values from each array.</p>
  
  <p>I tried this:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  
  def biplt(groundTruth, predictedValues, plt_name='&lt;name&gt;'):
          gt = groundTruth
          pr = predictedValues
          x = np.arange(2)
  
          y1, y2 = gt.values, pr.values
          fig, axes = plt.subplots(ncols=1, nrows=1)
  
          width = 0.20
          plt.title('%s\n Accuracy Score' % plt_name)
          plt.xlabel('Parameters')
          plt.ylabel('Score')
          axes.bar(x, y1, width, label="Algorithm 1")
          axes.bar(x + width, y2, width, color=list(plt.rcParams['axes.prop_cycle'])[2]['color'], label="Algorithm 2")
          axes.set_xticks(x + width)
          axes.set_xticklabels(['Positive', 'Negative'])
          plt.legend()
          plt.show()
  </code></pre>
  
  <p>Which has resulted into <code>ValueError</code>, check below:</p>
  
  <blockquote>
    <p>ValueError: shape mismatch: objects cannot be broadcast to a single shape</p>
  </blockquote>
  
  <p>I'm unable to diagnose with possible shape is of problem</p>
  
  <p>I'm expecting a similar o/p:<br>
  <a href="https://i.stack.imgur.com/zjFrH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zjFrH.png" alt="2Bars for each criteria"></a></p>