Closing matplotlib window in osx

Closing matplotlib window in osx
HI,

im running the latest version of matplotlib on osX. I write my script and execute it in iterm with python script.py and it works great. However matplotlib window doesn’t close on a keyboard interrupt, only closing once the matplotlib window is selected again. A minor inconvenience, but one that adds precious seconds to each dev. cycle. Any suggestions on how to fix this?

Craig Stewart

PhD Research Student

Negotiated Interaction

Department of Computing Science

University of Glasgow

Glasgow G128QQ

Scotland, UK