At 3:12 PM -0700 9/15/06, Christopher Barker wrote: >Russell E Owen wrote: >>Interesting idea. I'm not sure I'd know how to use more than one >>numerix option at once, > >well, I dint' mean more than one numerix option, exactly. What I >meant was that MPL is using numarray, but another module you've >imported is using Numeric (or numpy or whatever).
Ah. I can guarantee that's happening. Some of my code uses Numeric (due to high speed on short arrays) and some uses numarray (because I started using it for all new code when it looked like it would take over). I hope to switch to numpy for everything once the dust settles, but I don't want to force my users to all move at once (a lot of them are on unix and will have to manually install numpy -- no big deal, but I get complaints every time I require a new package). > > but it did inspire me to try a few things: > >>backend : TkAgg >>numerix : numarray >>interactive : True >>and the crash still happens: >>from pylab import * >>plot([1,2,3,4]) > >>I also tried setting numerix to Numeric and it still happens. > >Does it happen with wxAgg? or just plain ol Agg? also try the >non-agg TK back-end. I don't have wx or gtk installed, so no easy way to test those backends. It does not crash with plain old Agg (but of course I don't see any plot). I'll be happy to try the "non-agg TK back-end" if you can tell me what setting to use for it. I didn't see it in the matplotlibrc's list of options (but WXAgg is also missing from that particular list), nor on the "Which backend should I use?" page. >If not, then you've apparently found a tkAgg bug. > >TK has always been a bit of a second-class citizen on the Mac -- why >haven't you switched to wx yet? ;-) I started this project several years ago and at the time Tcl/Tk was the only game in town for Mac+unix+windows cross-platform support. Admittedly the Mac support was poor, but it has gotten much better, and I like Tkinter pretty well overall. It would be a major job to switch now and I doubt I can justify the expense and time. Sometimes I wish I'd used Java, even though the I strongly prefer Python, just to get a standard GUI. I'll try bulding matplotlib from source, just to see if there might be some quirk about the installer package. -- Russell ------------------------------------------------------------------------- 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.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users