adding same trick as incanter to get swing graphs out of the repl