i get this problem
`AttributeError Traceback (most recent call last)
in
16 fig, ax = plt.subplots(1)
17 mngr = plt.get_current_fig_manager()
---> 18 mngr.window.setGeometry(250, 120, 1280, 1024)
19 image = cv2.imread(image_file.path)
20 image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
AttributeError: 'FigureManagerBase' object has no attribute 'window'`
on this line of code
mngr.window.setGeometry(250, 120, 1280, 1024)
why i get this error ?
i run the code in jupyter in i get this

when i click on the photo no rectangular is appear
any help ?
i get this problem
`AttributeError Traceback (most recent call last)
in
16 fig, ax = plt.subplots(1)
17 mngr = plt.get_current_fig_manager()
---> 18 mngr.window.setGeometry(250, 120, 1280, 1024)
19 image = cv2.imread(image_file.path)
20 image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
AttributeError: 'FigureManagerBase' object has no attribute 'window'`
on this line of code
mngr.window.setGeometry(250, 120, 1280, 1024)why i get this error ?
i run the code in jupyter in i get this

when i click on the photo no rectangular is appear
any help ?