From: Michael D. <md...@st...> - 2007-12-03 19:09:50
|
It seems to have broken when I upgraded the branch to Agg 2.4. Agg 2.4 now handles interpolating the edges of the image with a background color more-or-less "correctly", and no longer needs the hack that adds boundary pixels to the image before sending it to Agg for interpolation. Should also be much faster with large images. Fixed in r4568. Cheers, Mike Jeff Whitaker wrote: > Michael Droettboom wrote: >> Thanks for finding this. It was an x,y reversal indexing the mesh >> array. Fixed in r4565. >> >> Cheers, >> Mike >> >> Jeff Whitaker wrote: >>> >>> Hi Michael: I've been testing basemap with the transforms branch. >>> All the examples now run, but the ones that use pcolormesh don't work >>> correctly. I've attached an example. In the trunk, using either >>> pcolor or pcolormesh produce an identical plot. In the transforms >>> branch, using pcolor produces the correct plot, but using pcolormesh >>> seems to scramble the image. >>> >>> -Jeff >>> >> > OK - since you fixed that one so fast, here's another one! Seems like > images don't quite fill up the entire axes - running this script with > the transforms branch you'll see a white strip around the top and right > side of the image. > > -Jeff > > P.S. the data this script needs is in the basemap examples directory. > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |