Closed
Description
Using Python installed via Anaconda on macOS, figures do not receive keyboard focus. All key presses go to the terminal instead.
Minimal example:
import matplotlib.pyplot as plt
plt.plot(1)
plt.show()
# then click on the "Save" icon
# it is impossible to change the file name in the dialog window
The same thing happens when listening to key press events - they are simply not detected at all.
Using Python installed via Homebrew doesn't have this problem. There are some reports regarding this behavior (#665, #2120, #3367, #4372), but I still run into this issue. I'm using the latest Anaconda packages and tried the latest Matplotlib release and latest development version.