markjay4k/YOLO-series

AttributeError: 'FigureManagerBase' object has no attribute 'window'

priyanshbrannen opened this issue · 5 comments

I'm facing this issue in the program draw_box.py.
The images are loading one by one in Spyder IDE and even in Jupyter but the code :
bbox=plt.connect('key_press_event', toggle_selector)
key=plt.connect('key_press_event', onkeypress)
is not working properly. A new window is not popping up and no keypress event is being detected. Instead all the images in the directory are being loaded one by one if I comment out the setGeometry line.
What can be done?

Have you solved the issue yet? I am stuck there as well

me too

you solved the issue yet?

you solved the issue yet?

Turns out its Spyder IDE's problem I changed to Sublime text and it works for me

you solved the issue yet?

My problem here was that Spyder was outputting to the console. Change this in Graphics Output in Tools/Preferences/IPython Console/Graphics from Inline to Automatic