data = np.load('data.npy') # 2d-array m = Basemap(llcrnrlat=south, urcrnrlat=north, llcrnrlat=west, urcrnrlon=east, resolution='l',area_thresh=10000) m.drawcoastlines(linewidth=0.4) m.drawmeridians(np.arange(0,360,60), linewidth=0.5, dashes=[2,1], labels=[0,0,0,1]) m.drawparallels(np.arange(-90,91,30), linewidth=0.5, dashes=[2,1], labels=[1,0,0,0]) m.imshow(data, cmap=colormap) plt.colorbar(aspect=50, pad=0.08, orientation='horizontal')