I am quite new to pyqtgraph and have been learning python for some time. I am trying to get mouse click coordinates from the pyqtgraph plotitem. Here\'s what I have so far.