Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc3f98 commit 6268db5Copy full SHA for 6268db5
1 file changed
examples/widgets/annotated_cursor.py
@@ -129,7 +129,7 @@ def onmove(self, event):
129
# Get the coordinates, which should be displayed as text,
130
# if the event cooridnates are valid
131
plotpoint = None
132
- if (event.xdata is not None) and (event.ydata is not None):
+ if event.xdata is not None and event.ydata is not None:
133
# Get plot point related to current x position.
134
# These coordinates are displayed in text.
135
plotpoint = self.setpos(event.xdata, event.ydata)
0 commit comments