Re: [Matplotlib-users] Alpha not working from imshow?

2011-01-17 Thread Tim Burgess
Thanks, Paul! A bit of tweaking in my actual app but it now works beautifully! On 18/01/2011, at 4:08 PM, Paul Ivanov wrote: > Tim Burgess, on 2011-01-18 13:32, wrote: >> I'm generating images that I want to use as overlays in Google >> Earth. Thus, I would like the masked

[Matplotlib-users] Alpha not working from imshow?

2011-01-17 Thread Tim Burgess
I'm generating images that I want to use as overlays in Google Earth. Thus, I would like the masked portion of the numpy arrays I am using to appear as transparent. However, I seem to consistently get white instead of a transparent point. To clarify the issue, I wrote this short piece of code. I

Re: [Matplotlib-users] Building basemap on OS X 10.6

2009-11-10 Thread Tim Burgess
On 10/11/2009, at 3:37 AM, Christopher Barker wrote: > Tim Burgess wrote: >> Sodecided to go down the MacPorts path. Many automated >> downloads later, I now have a successful Basemap install (yay!) >> Many thanks to the folks who have contributed to MacPorts and

[Matplotlib-users] Multicolor line with dates

2009-10-27 Thread Tim Burgess
segments seg = np.asarray(seg, np.float_) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/numpy/core/numeric.py", line 230, in asarray return array(a, dtype, copy=False, order=order) ValueError: setting an array element with a seque