Keep transparency with basemap warpimage
问题 I have an RGBA png map with all oceans transparent. I want to use Basemap in a north pole stereographic projection and this map with warpimage. The transparency is lost and replaced by black when I want to keep it. What can i do ? My final goal is to plot a color grid in oceans and then the transparent map above it. from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt m = Basemap(projection='npstere',boundinglat=60,lon_0=300,resolution='l',round=True) m.drawlsmask(ocean