Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6268db5

Browse files
Remove braces
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent ebc3f98 commit 6268db5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/widgets/annotated_cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def onmove(self, event):
129129
# Get the coordinates, which should be displayed as text,
130130
# if the event cooridnates are valid
131131
plotpoint = None
132-
if (event.xdata is not None) and (event.ydata is not None):
132+
if event.xdata is not None and event.ydata is not None:
133133
# Get plot point related to current x position.
134134
# These coordinates are displayed in text.
135135
plotpoint = self.setpos(event.xdata, event.ydata)

0 commit comments

Comments
 (0)