...python3.6/site-packages/pyqtgraph/graphicsItems/ScatterPlotItem.py", line 817, in pointsAt
s2x = s2y = ss * 0.5
TypeError: can't multiply sequence by non-int of type 'float'
self.my_curve = pg.PlotDataItem(x=self.t, y=self.y,)
self.my_curve.sigPointsClicked.connect(self.pointsClicked)
self.myPlot.addItem(self.backaz_curve)
...
def pointsClicked(self):
for idx, point in enumerate(points):
print('{}: x={}, y={}'.format(idx, point.x(), point.y()))
self.my_curve = pg.PlotDataItem(x=self.t, y=self.y,)
self.my_curve.sigPointsClicked.connect(self.pointsClicked)
self.myPlot.addItem(self.my_curve)
...
def pointsClicked(self, points):