title: How to have actual values in matplotlib Pie Chart displayed
body: <p>I have a pie chart drawing the values extracted from a CSV file. The proportion of the values are currently displayed with the percentage displayed "autopct='%1.1f%%'". Is there a way to display the actual values which are represented in the dataset for each slice.</p>
  
  <pre><code>#Pie for Life Expectancy in Boroughs
  import pandas as pd
  import matplotlib
  import matplotlib.pyplot as plt
  
  # show plots inline
  %matplotlib inline
  
  # use ggplot style
  matplotlib.style.use('ggplot')
  
  #read data
  lifeEx = pd.read_csv('LEpie.csv')
  
  #Select columns
  df = pd.DataFrame()
  df['LB'] = lifeEx[['Regions']]
  df['LifeEx'] = lifeEx[['MinLF']]
  colorz = ['#B5DF00','#AD1FFF', '#BF1B00','#5FB1FF','#FFC93F']
  exploda = (0, 0, 0, 0.1, 0)
  
  
  #plotting
  plt.pie(df['LifeEx'], labels=df['LB'], colors=colorz, autopct='%1.1f%%', explode = exploda, shadow = True,startangle=90)
  
  #labeling
  plt.title('Min Life expectancy across London Regions', fontsize=12)
  </code></pre>