From 352a8a425a053e066ac64f194a78e5edcdc73255 Mon Sep 17 00:00:00 2001 From: Kenneth Lyons Date: Fri, 19 Jun 2020 23:00:02 -0700 Subject: [PATCH] Add mouse event to PlotCurveItem sigClicked signature --- pyqtgraph/graphicsItems/PlotCurveItem.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyqtgraph/graphicsItems/PlotCurveItem.py b/pyqtgraph/graphicsItems/PlotCurveItem.py index b6c6d216..d2b87e09 100644 --- a/pyqtgraph/graphicsItems/PlotCurveItem.py +++ b/pyqtgraph/graphicsItems/PlotCurveItem.py @@ -29,15 +29,15 @@ class PlotCurveItem(GraphicsObject): - Fill under curve - Mouse interaction - ==================== =============================================== + ===================== =============================================== **Signals:** - sigPlotChanged(self) Emitted when the data being plotted has changed - sigClicked(self) Emitted when the curve is clicked - ==================== =============================================== + sigPlotChanged(self) Emitted when the data being plotted has changed + sigClicked(self, ev) Emitted when the curve is clicked + ===================== =============================================== """ sigPlotChanged = QtCore.Signal(object) - sigClicked = QtCore.Signal(object) + sigClicked = QtCore.Signal(object, object) def __init__(self, *args, **kargs): """