matplotlib/matplotlib — Issue #647: basemap warpimage transparency issue
Author: bigmadhabib
Created: 2011-12-29 19:58:25+00:00
State: open

Hi,

It appears that the 'alpha' argument in the basemap 'warpimage' function does not get passed correctly. I am unable to set the image to any transparency. For example:

map = Basemap(projection='mill',llcrnrlon=-180,llcrnrlat=-90,urcrnrlon=180,urcrnrlat=90,resolution='i')
map.warpimage(image='./world.jpg',scale=0.25,alpha=0.1,zorder=3)

produces a map where the image layer is completely opaque, not mostly transparent. I this example I am also set the zorder so that this image would appear above a filled contour plot. I'm not sure if that affects this.

Thanks!