I am fairly new to matplotlib. I have a piece of code which plots a set of data. my requirement is that upon clinking on the data point, I looking to retrieve the original data set of that point. when using "self.f.canvas.mpl_connect('button_press_event',self.onclick)" Command, all it returns was mouse coordinates but not the data can you help me please. cheers