Skip to content

Commit ffdb781

Browse files
authored
Removed 'flag' and 'param' arguments (#112)
1 parent 5fbf45e commit ffdb781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samgeo/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2187,7 +2187,7 @@ def show_canvas(image, fg_color=(0, 255, 0), bg_color=(0, 0, 255), radius=5):
21872187
right_clicks = []
21882188

21892189
# Create a mouse callback function
2190-
def get_mouse_coordinates(event, x, y, flags, param):
2190+
def get_mouse_coordinates(event, x, y):
21912191
if event == cv2.EVENT_LBUTTONDOWN:
21922192
# Append the coordinates to the mouse_clicks list
21932193
left_clicks.append((x, y))

0 commit comments

Comments
 (0)