title: Reverse legend order pandas plot
body: <p>I have following code to show stacked bar</p>
  
  <pre><code>handles = df.toPandas().set_index('x').T.plot(kind='bar', stacked=True, figsize=(11,11))
      plt.legend(loc='best', title="Line", fontsize = 'small', framealpha=0)
      plt.ylabel("'" + lineName + "'")
      plt.show()
  </code></pre>
  
  <p>I want to reverse the order of legend I used <code>handles=handles[::-1]</code>but I got an error.</p>