I'm having an issue with cv2.imshow() on a Mac from python. When I run the command, a window opens in the background, and a python rocket icon appears on my dock, bouncing. However the window does not come to the foreground, and is not focusable (and the icon continues to bounce). If I move my mouse cursor over the window, it shows the spinning beach-ball of death.
What's strange is that if I simply "import matplotlib.pyplot", everything starts working. This suggests something isn't being initialized by opencv.
This is occurring with both opencv 2.4.9 and 3.0.0alpha, and occurs with either the QT backend or the normal Mac backend, so it's obviously a problem with my installation. However, I've completely uninstalled and reinstalled everything, and still have the problem. :-(
Not quite sure how to proceed, so any pointers would be very welcome.