On Mon, Feb 16, 2009 at 8:13 PM, Jeff Whitaker <jsw...@fastmail.fm> 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
=====================================

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to