enable pyplot without xterm