title: Pandas pie plot actual values for multiple graphs
body: <p>I'm trying to print actual values in pies instead of percentage, for one dimensonal series this helps:</p>
  
  <p><a href="https://stackoverflow.com/questions/14171021/matplotlib-pie-chart-how-to-replace-auto-labelled-relative-values-by-absolute-v">Matplotlib pie-chart: How to replace auto-labelled relative values by absolute values</a></p>
  
  <p>But when I try to create multiple pies it won't work.</p>
  
  <pre><code>d = {'Yes':pd.Series([825, 56], index=["Total", "Last 2 Month"]), 'No':pd.Series([725, 73], index=["Total", "Last 2 Month"])}
  df = pd.DataFrame(d)
  df = df.T
  def absolute_value(val):
      a  = np.round(val/100.*df.values, 0)
      return a
  
  df.plot.pie(subplots=True, figsize=(12, 6),autopct=absolute_value)
  plt.show()
  </code></pre>
  
  <p>How can I make this right?</p>
  
  <p>Thanks.</p>