Fix #245 Ctrl-C kills plotting