Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

part 6 (AttributeError: 'FigureManagerBase' object has no attribute 'window') no rectangular was drawn #38

Open
hassannagy opened this issue Jun 14, 2019 · 0 comments

Comments

@hassannagy
Copy link

hassannagy commented Jun 14, 2019

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
Screenshot 2019-06-15 02 32 25

when i click on the photo no rectangular is appear

any help ?

@hassannagy hassannagy changed the title part 6 (AttributeError: 'FigureManagerBase' object has no attribute 'window') part 6 (AttributeError: 'FigureManagerBase' object has no attribute 'window') no rectangular was drawn Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant