Re: [Matplotlib-users] Focus in OSX

2012-04-15 Thread Ludwig Schwardt
Hi Michiel, > OK, that is good to know. > The Apple-supplied python is not installed as a framework; I don't know for > the Enthought distribution. Are you sure about this? The Python libraries reside in /System/Library/Frameworks/Python.framework (at least on Lion, but also on earlier version

Re: [Matplotlib-users] Focus in OSX

2012-04-14 Thread Elliot Saba
er your Python is installed as a > framework, and it issues a warning if it is not installed as a framework. > For your non-framework python, was this warning issued? > > Best, > -Michiel. > > --- On *Fri, 4/13/12, Elliot Saba * wrote: > > > From: Elliot Saba > Subject

Re: [Matplotlib-users] Focus in OSX

2012-04-13 Thread Michiel de Hoon
r non-framework python, was this warning issued? Best, -Michiel. --- On Fri, 4/13/12, Elliot Saba wrote: From: Elliot Saba Subject: Re: [Matplotlib-users] Focus in OSX To: "Chris Laumann" Cc: "Michiel de Hoon" , "matplotlib-users@lists.sourceforge.net" Date: Friday,

Re: [Matplotlib-users] Focus in OSX

2012-04-13 Thread Elliot Saba
Confirmed, when I installed my python as a framework, (With homebrew, `brew install python --framework`) the focus now works properly. -E On Thu, Apr 12, 2012 at 7:57 PM, Chris Laumann wrote: > Actually I don't know about the apple supplied python, but I believe > enthoughts python is installed

Re: [Matplotlib-users] Focus in OSX

2012-04-12 Thread Chris Laumann
Actually I don't know about the apple supplied python, but I believe enthoughts python is installed as a framework. C On Apr 12, 2012, at 8:53 PM, Michiel de Hoon wrote: > --- On Wed, 4/11/12, Zachary Pincus wrote: >> Hopefully someone who knows more about the OS X backend can >> comment h

Re: [Matplotlib-users] Focus in OSX

2012-04-12 Thread Michiel de Hoon
--- On Wed, 4/11/12, Zachary Pincus wrote: > Hopefully someone who knows more about the OS X backend can > comment here... It sounds like the Python you are using is not installed as a framework. Using the --enable-framework flag when compiling Python. -Michiel. ---

Re: [Matplotlib-users] Focus in OSX

2012-04-11 Thread Elliot Saba
The 'tkagg' backend works properly for me, (I get the icon, the windows behave properly, keyboard shortcuts work, etc) my only complaint is that it's much "uglier" than the OSX version (the color scheme is wrong as the windows are non-native). -E On Wed, Apr 11, 2012 at 12:22 PM, Ethan Gutmann

Re: [Matplotlib-users] Focus in OSX

2012-04-11 Thread Ethan Gutmann
On Apr 11, 2012, at 2:19 PM, Chris Laumann wrote: > I get the exact same behavior from both Enthought supplied python and Apple > supplied python. I haven't tried any other pythons, but it isn't limited to > the Apple one. > > C I've never seen quite what has been described, but I've had issu

Re: [Matplotlib-users] Focus in OSX

2012-04-11 Thread Zachary Pincus
Huh, bizarre. So neither of you get the little rocket-ship app icon appear when matplotlib first draws a window? And matplotlib.rcParams['backend'] is definitely 'MacOSX'? Hopefully someone who knows more about the OS X backend can comment here... Zach On Apr 11, 2012, at 2:19 PM, Chris Laumann

Re: [Matplotlib-users] Focus in OSX

2012-04-11 Thread Chris Laumann
I get the exact same behavior from both Enthought supplied python and Apple supplied python. I haven't tried any other pythons, but it isn't limited to the Apple one. C On Apr 11, 2012, at 1:58 PM, Elliot Saba wrote: > I'm using homebrew python, which is built from source, and the latest > ma

Re: [Matplotlib-users] Focus in OSX

2012-04-11 Thread Elliot Saba
I'm using homebrew python, which is built from source, and the latest matplotlib gotten from git://github.com/matplotlib/matplotlib.git. (I rebuilt it ~2 minutes ago) Perhaps there's some kind of environment difference? -E On Wed, Apr 11, 2012 at 5:12 AM, Zachary Pincus wrote: > > 1. Keyboard i

Re: [Matplotlib-users] Focus in OSX

2012-04-11 Thread Zachary Pincus
> 1. Keyboard input always goes to the terminal. Shortcuts don't work in the > standard plot windows and my custom widgets no longer catch key_press_events > (I'm not sure when this functionality broke exactly as I haven't used those > widgets much recently but it worked when I developed 'em a

Re: [Matplotlib-users] Focus in OSX

2012-04-10 Thread Elliot Saba
I can confirm all three of these issues. Having never used matplotlib outside of OSX Lion, I thought this was standard for MPL, I'm glad to hear it's not, but I agree that these are very important issues to be addressed. -E On Tue, Apr 10, 2012 at 7:12 PM, Chris Laumann wrote: > Hi all- > > I've

[Matplotlib-users] Focus in OSX

2012-04-10 Thread Chris Laumann
Hi all- I've been running into this issue for the last few months and at first thought it was Enthought specific but now have confirmed it on a clean (virtualenv) install of Fonnesbeck's superpack using built in Apple python and a dev matplotlib on Lion. With the OSX backend, figures clearly h