[IPython-dev] Tk pylab annoyance

Fernando Perez fperez.net@gmail....
Tue Oct 18 15:06:33 CDT 2011

On Tue, Oct 18, 2011 at 1:00 PM, Jörgen Stenarson
<jorgen.stenarson@bostream.nu> wrote:
> when starting ipython --pylab=tk I loose focus from the terminal window
> at startup. Unless I press some key during startup before the prompt
> appears. Anyone else seeing this? I'm on windows 7 python 2.6 and with
> ipython master.
> Anyone got any ideas what could cause this?

I suspect it's the creation of the tk root window by matplotlib.  I
don't know if the focus behavior of Tk is user controllable, sorry.
If nobody from the mpl list responds here, perhaps you could ping
their list in case one of their devs knows that codepath better.  If
there's anything we can do from ipython to influence that behavior,
I'd love to hear, because I've been annoyed by it in the past too.

More information about the IPython-dev mailing list