Re: [Matplotlib-users] plot() hangs up, how to rescue Python?
OK, no prob -- just one of those Linux things I guess. Anand On Sat, Jul 26, 2008 at 11:56 PM, John Hunter [EMAIL PROTECTED] wrote: On Sat, Jul 26, 2008 at 5:46 PM, Anand Patil [EMAIL PROTECTED] wrote: Well, I lost it... whatever was hung up apparently gave up and killed Python when I shut down my local machine. It would still be nice to know how to fix this though, in case it happens again... Sorry this happened -- I don't know how to fix this for future reference, unfortunately. JDH - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] plot() hangs up, how to rescue Python?
Hi all, I'm using matplotlib with the TKAgg on a remote machine running Ubuntu. Normally when I call 'plot' I see the plot in an X11 window, but I called 'plot' yesterday and Python went unresponsive... it doesn't listen to ctrl-C or anything, and it's been more than 24 hours. I would REALLY like to preserve the data Python has in memory. Is there any way to kill the plot command and wake Python back up? Thanks, Anand Patil - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] plot() hangs up, how to rescue Python?
Well, I lost it... whatever was hung up apparently gave up and killed Python when I shut down my local machine. It would still be nice to know how to fix this though, in case it happens again... Thanks, Anand On Sat, Jul 26, 2008 at 12:34 PM, Anand Patil [EMAIL PROTECTED] wrote: Hi all, I'm using matplotlib with the TKAgg on a remote machine running Ubuntu. Normally when I call 'plot' I see the plot in an X11 window, but I called 'plot' yesterday and Python went unresponsive... it doesn't listen to ctrl-C or anything, and it's been more than 24 hours. I would REALLY like to preserve the data Python has in memory. Is there any way to kill the plot command and wake Python back up? Thanks, Anand Patil - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Matplotlib Cocoaagg backend
It works! What beeyootiful plots. Man, that is SO MUCH nicer than Matlab's stanky old X11 [EMAIL PROTECTED]^%. And contrary to something I think I remember you saying on an earlier thread, I could swear it's faster than TkAgg by a long shot. Two wrinkles: It pops up a blank plot before showing the first plot the user requests, and I can't get it to work in interactive mode. On the (good) chance you're aware of those and working on it, sorry. Thanks, Anand Charlie Moad wrote: On 2/21/07, Anand Patil [EMAIL PROTECTED] wrote: From the matplotlib-devel list: On 2/14/07, Michiel Jan Laurens de Hoon [EMAIL PROTECTED] wrote: Dear Charles, I was trying to use your cocoa-agg backend for matplotlib, but it seems to have a problem to read Matplotlib.nib. Opening this nib with Interface Builder also gives an error. It appears that the problem is caused by the file keyedobjects.nib in the Matplotlib.nib folder. If I run plutil on keyedobjects.nib, it crashes. The other two files in Matplotlib.nib look fine. So I was wondering if it is possible that the keyedobjects.nib file included in matplotlib is damaged. If so, do you have a valid copy of this file? Many thanks in advance, --Michiel de Hoon. We recently moved the data files, and I think the nib files got interpreted as text instead of binary files. I grabbed an old copy from a previous source release and committed them as binary. They should work now. - Charlie I just downloaded /trunk/matplotlib/lib/matplotlib/backends/Matplotlib.nib, rev 3022 on svn. When I tried to use it, this happened: In [1]: figure() 2007-02-21 15:00:51.611 Python[813] *** NSThread: ignoring exception '*** -[NSKeyedUnarchiver decodeObjectForKey:]: missing class information for object' that raised during delayed perform of target 0x3b308c0 and selector 'startWithBundle:' I wasn't able to open the nib package with the interface builder, and plutil crashed on keyedobjects.nib (I don't know what plutil is supposed to do). I'm using a PPC G4 running OS X 10.4. Thanks much, Anand Sorry it took some time, but I tried committing fresh non-binary nibs. Please try again now. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] How to make figures transparent by default, leave foreground color to pdflatex?
Hi all, Sorry about the steady stream of help requests. I haven't been able to figure out a couple of things: - How can I make my figures and axes transparent by default? - When I inserted some of my old pdf plots into a latex presentation, to my surprise their foreground color had changed from black to the color of the text in the presentation. Is there a way to signal to Matplotlib that I would like this to happen? Can I make this behavior default? Many thanks, Anand Patil - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Intermittent Matplotlib crash on OS X
Russell and Eric, many thanks for sticking with me on this issue. I've been able to reproduce the problem just by calling gc.collect() without loading Matplotlib, so it looks like the problem is elsewhere. I'm very sorry I didn't realize this sooner. Cheers, Anand - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Intermittent Matplotlib crash on OS X
Hi all, Matplotlib occasionally crashes Python at the end of a long program on my powerbook g4 running OS X 10.4. gdb output follows: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0a68fe40 0x002eae50 in visit_decref (op=0x28a1cb0, data=0x0) at /Users/ronald/Python/r25/Modules/gcmodule.c:270 270 /Users/ronald/Python/r25/Modules/gcmodule.c: No such file or directory. in /Users/ronald/Python/r25/Modules/gcmodule.c or Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x0056 0x002eae50 in visit_decref (op=0x28a17e0, data=0x0) at /Users/ronald/Python/r25/Modules/gcmodule.c:270 270 in /Users/ronald/Python/r25/Modules/gcmodule.c It's always something like that, and it always happens after the little Python icon starts bouncing around in the dock. I don't know anyone named Ronald and no such directory exists on my machine. Thanks, Anand Patil - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Intermittent Matplotlib crash on OS X
Matplotlib occasionally crashes Python at the end of a long program on my powerbook g4 running OS X 10.4. gdb output follows: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0a68fe40 0x002eae50 in visit_decref (op=0x28a1cb0, data=0x0) at /Users/ronald/Python/r25/Modules/gcmodule.c:270 270 /Users/ronald/Python/r25/Modules/gcmodule.c: No such file or directory. in /Users/ronald/Python/r25/Modules/gcmodule.c or Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x0056 0x002eae50 in visit_decref (op=0x28a17e0, data=0x0) at /Users/ronald/Python/r25/Modules/gcmodule.c:270 270 in /Users/ronald/Python/r25/Modules/gcmodule.c It's always something like that, and it always happens after the little Python icon starts bouncing around in the dock. I don't know anyone named Ronald and no such directory exists on my machine. What version of matplotlib, what version of Python and where did you them from from (build from source, some binary installer, fink...?) -- Russell It's Python 2.5, and the new Matplotlib 0.9 built from source. I saw the same problem with Python 2.4.3 and Matplotlib 0.8.(can't remember), which was part of the reason I upgraded. However, I didn't look at the problem with gdb using the earlier versions. Thanks, Anand - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] CocoaAgg error
Hi all, When using CocoaAgg, I get this error message, Python hangs up, and no figure appears: In [1]: from pylab import * In [2]: A=zeros(10) In [3]: plot(A) Out[3]: [matplotlib.lines.Line2D instance at 0x3fb48a0] In [4]: show() 2007-02-11 18:16:49.244 Python[1833] *** NSThread: ignoring exception '*** -[NSKeyedUnarchiver decodeObjectForKey:]: missing class information for object' that raised during delayed perform of target 0x400f950 and selector 'startWithBundle:' I'm using Python 2.4.3 on OS X 10.4, PPC. Thanks in advance for any help, Anand Patil - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users