title: python matplotlib bar chart adding bar titles
body: <p>I am using matplotlib with python 2.7</p>
  
  <p>I need to create a simple pyplot bar chart, and for every bar, I need to add, on top of it, the y value of it. </p>
  
  <p>I am creating a bar chart with the following code: </p>
  
  <pre><code>import matplotlib.pyplot as plt
  
  barlist = plt.bar([0,1,2,3], [100,200,300,400], width=5)
  
  barlist[0].set_color('r')
  barlist[0].title("what?!")
  </code></pre>
  
  <p>the changing of color works, but for the title i get the following error: 
  AttributeError: 'Rectangle' object has no attribute 'title'</p>
  
  <p>i found some <a href="https://stackoverflow.com/questions/28931224/adding-value-labels-on-a-matplotlib-bar-chart">questions</a> about similar question but they are not using the same way of creating a bar chart, and their solution did not work for me. </p>
  
  <p>any ideas for a simple solution for adding the values of the bars as titles above them? </p>
  
  <p>thanks! </p>