Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6

2009-12-02 Thread William Carithers
Hi Lisa, I had lots of trouble installing on 10.6 as well. What finally worked for me is to use the (recommended) file make.osx that comes with the matplotlib download. You have to edit that file to point to the versions of Python (you want 2.6) and OSX (you want 10.6). I'm attaching a version

Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6

2009-12-02 Thread William Carithers
, William Carithers wrote: Hi Lisa, I had lots of trouble installing on 10.6 as well. What finally worked for me is to use the (recommended) file make.osx that comes with the matplotlib download. You have to edit that file to point to the versions of Python (you want 2.6) and OSX (you want

Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6

2009-12-02 Thread William Carithers
You're right--that's pretty simple. I ran that exact code and it worked fine. Don't know what to say except that this is above my competence level to dig into the guts of tk. Looks like a problem for John Hunter. Sorry I couldn't help more, Bill On 12/2/09 2:49 PM, Lisa M Winter

[Matplotlib-users] Fitting math functions to histograms

2009-11-30 Thread William Carithers
I would like to fit a gaussian to a histogram and then overplot it. I can write the code to do this but most plotting packages support such fitting. However I can't find it for pyplot even after scanning documentation, googling, etc. In fact, the only fitting functionality I could find was the

Re: [Matplotlib-users] Fitting math functions to histograms

2009-11-30 Thread William Carithers
for the truncated distribution, then I will underestimate the sigma parameter of the gaussian needed to get a good fit. I'll take at the scipy.stats.norm . Thanks for your help. Bill On 11/30/09 7:22 PM, John Hunter jdh2...@gmail.com wrote: On Mon, Nov 30, 2009 at 6:44 PM, William Carithers wccarith

Re: [Matplotlib-users] Installing problems

2009-11-02 Thread William Carithers
Hello Mitra, If you haven't solved your problem yet, I would highly recommend cleaning up previous versions and using the make.osx file supplied with the matplotlib download. Edit the PREFIX to replace the example target directory with your own target directory. Make sure the

[Matplotlib-users] Bus error when importing from matplotlib

2009-10-14 Thread William Carithers
I was trying what I thought was a simple import from matplotlib, when I got a Bus error Here's the terminal ouptput. Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type help, copyright, credits or license for more information. from matplotlib

Re: [Matplotlib-users] Bus error when importing from matplotlib

2009-10-14 Thread William Carithers
Ok, after a little more digging I'm really confused. Libfreetype.6.dylib is actually an OS X alias to libfreetype.6.3.2.dylib. Not sure why the error report gave the path to the alias rather than the target file. Bill On 10/14/09 1:37 PM, William Carithers wccarith...@lbl.gov wrote: I

[Matplotlib-users] Installing matplotlib on mac os 10.6 (Snow Leopard)?

2009-10-13 Thread William Carithers
I've not been able to find a successful way to install matplotlib since upgrading to OS 10.6. There doesn't seem to be an egg for it. Easy_install matplotlib finds an old version (0.91) that is not compatible with the new numpy supplied by Apple. Easy_install matplotlib-0.99.1 can't find it.