From: Davide L. <dla...@gm...> - 2009-02-17 18:01:20
|
On Mon, Feb 16, 2009 at 8:13 PM, Jeff Whitaker <js...@fa...> wrote: > Davide Lazzati wrote: >> >> Hi, >> >> I'm trying to rum python and matlpotlib on a remote mac host from my >> mac laptop. Both have Mac OS/X 10.5.6 and I'm using ssh -Y ... >> >> However, the graphic window does not appear and, when I run p.show() >> everything gets stuck. >> >> Any insight? >> >> Thanks >> > > Davide: This will only work if you use an X11-based backend (like GTK Agg), > since only X11 is forwarded over SSH. If you're using a mac-native backend, > the window is popping up on your mac's screen when you do show(). > > -Jeff I've tried to use GTKAgg and it gives me an error message . I'm now running on the MacOSX backend and the graphic window appears on the remote screen (where pyton is running) rather than on the local one (in front of which I am sitting). Any idea on how to open the graphic window with a MacOSX or TkAgg backends on the local screen while python is running remote? Thanks again Davide -- ===================================== Davide Lazzati, Assistant Professor NCSU, Dept. of Physics, Riddick Hall Office 400E, tel (919) 513 0926 Raleigh, NC, 27695-8202 ===================================== |