Re: [matplotlib-devel] Building from source on Mac OS X

2009-08-22 Thread Tobias Wood
Yes, that seems to have fixed the problem. I tried to do something similar but failed. Many thanks! On 22 Aug 2009, at 05:20, Jouni K. Seppänen wrote: > Tobias Wood writes: > >> I've just started getting exactly the same errors, but with Python >> 2.6.2 and the most

Re: [matplotlib-devel] Building from source on Mac OS X

2009-08-21 Thread Tobias Wood
I've just started getting exactly the same errors, but with Python 2.6.2 and the most recent svn checkout. I haven't updated for a month or so but never had this issue before. Toby On 20 Aug 2009, at 16:33, Michael Hearne wrote: > I'm attempting to build matplotlib from source (0.99.0 from >

Re: [matplotlib-devel] Building from source on Mac OS X

2009-08-21 Thread Tobias Wood
Hi, I've been having the same problem. I've done some digging and now know why this is happening, but have no idea how to fix it! Someone has updated _macosx.m to use the new CTFont functionality in the 10.5 SDK. Unfortunately, the #ifdef checks they have put in to ensure that the 10.5 SDK

Re: [matplotlib-devel] Strange bit-depth PNGs

2009-06-22 Thread Tobias Wood
Also, why does the code not create an 8-bit numpy array for "raw" images that are only 8-bits? Also a style note: I find assignments inside of ternary operators (... ? ... : ...) confusing. I'd rather see that as a proper "if" block. Cheers, Mike Tobias Wood w

[matplotlib-devel] Strange bit-depth PNGs

2009-06-22 Thread Tobias Wood
Dear list, Back in April I submitted a patch that allowed imread() to correctly read PNGs that have odd bit-depths, ie not 8 or 16 (I actually submitted that to the Users list as I was unsure of protocol). There were a couple of things I left unfinished that I've finally got round to looking