title: Matplotlib: Display value next to each point on chart
body: <p>Is it possible to display each point's value next to it on chart diagram:</p>
  
  <p><a href="https://i.stack.imgur.com/tgau2.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tgau2.png" alt="Chart"></a></p>
  
  <p>Values shown on points are: <strong>[7, 57, 121, 192, 123, 240, 546]</strong></p>
  
  <pre><code>values = list(map(lambda x: x[0], result)) #[7, 57, 121, 192, 123, 240, 546]
  labels = list(map(lambda x: x[1], result)) #['1950s', '1960s', '1970s', '1980s', '1990s', '2000s', '2010s']
  
  plt.plot(labels, values, 'bo')
  plt.show()
  </code></pre>
  
  <p>Here's my current code for this chart.</p>
  
  <p>I would like to know each point value shown on graph, currently I can only predict values based on y-axis.</p>