Re: [Matplotlib-users] pyplot.figure stealing window focus!!

2009-04-15 Thread Christopher Brown
Hi List, AS now you're not loading the AS graphical library that was grabbing focus, but merely a low(er) AS level drawing library. This raises a question I've had for some time. I wish the figure method had x and y kwargs, so that I could specify where the figure window pops up. It always

[Matplotlib-users] pyplot.figure stealing window focus!!

2009-04-14 Thread Tyler B
Hi there, I am trying to run a python script on my computer at a regular interval [in the background] to output an image file using matplotlib. My problem is that every time the script runs, it momentarily steals focus from whatever I'm working on -- which over time gets to be very annoying. I

Re: [Matplotlib-users] pyplot.figure stealing window focus!!

2009-04-14 Thread Andrew Straw
Tyler B wrote: Hi there, I am trying to run a python script on my computer at a regular interval [in the background] to output an image file using matplotlib. My problem is that every time the script runs, it momentarily steals focus from whatever I'm working on -- which over time gets to

Re: [Matplotlib-users] pyplot.figure stealing window focus!!

2009-04-14 Thread Tyler B
I think that did it --- thanks Andrew!! Just out of curiosity, what does 'Agg' refer to? Also, I'm guessing that some efficiency is lost once we make Python import the entire library (as opposed to just pyplot as before) -- is there a more efficient way, or is that just the price to pay? Either

Re: [Matplotlib-users] pyplot.figure stealing window focus!!

2009-04-14 Thread Andrew Straw
Tyler B wrote: I think that did it --- thanks Andrew!! Just out of curiosity, what does 'Agg' refer to? It's the low-level drawing library, anti-grain. You're bypassing the loading of whatever other backend -- a low-level drawing system -- that matplotlib was loading before. Also, I'm