controls/DebugVariablePanel/DebugVariableGraphicViewer.py
changeset 1764 d5df428640ff
parent 1757 0de89da92ee0
child 1766 c1e5b9f19483
--- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py	Thu Aug 17 14:27:06 2017 +0300
+++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py	Thu Aug 17 15:43:25 2017 +0300
@@ -584,7 +584,7 @@
             # Search for the nearest point from mouse position
             if len(x_data) > 0 and len(y_data) > 0:
                 length = min(len(x_data), len(y_data))
-                d = numpy.sqrt((x_data[:length, 1]-event.xdata) ** 2 + \
+                d = numpy.sqrt((x_data[:length, 1]-event.xdata) ** 2 +
                                (y_data[:length, 1]-event.ydata) ** 2)
 
                 # Set cursor tick to the tick of this point