title: Get data from plot with matplotlib
body: <p>I'm using matplotlib in python to build a scatter plot.</p>
  <p>suppose I have the following 2 data lists.</p>
  <blockquote>
  <p>X=[1,2,3,4,5]</p>
  <p>Y=[6,7,8,9,10]</p>
  </blockquote>
  <p>then I use X as the X-axis value and Y as the Y-axis value to make a scatter plot. So I will have a picture with 5 scattering points on it, right?</p>
  <p>Now the question: is it possible to build connection for these 5 points with the actual data. For example, when I click on one of these 5 points, it can tell me what original data I have used to make this point?</p>
  <p>thanks in advance</p>