close pyplot figure using the keyboard on mac os x,plt.show()