cmap.set_under('#808080')
import matplotlib.pyplot as plt
import matplotlib.cm as cm
import iris
import iris.quickplot as qplt
import cartopy.crs as ccrs
cmap = cm.get_cmap('seismic')
cmap.set_bad('yellow')
fname = iris.sample_data_path('orca2_votemper.nc')
cube = iris.load_cube(fname)
ax1 = plt.subplot(2, 1, 1, projection=ccrs.PlateCarree())
qplt.pcolormesh(cube, cmap=cmap, axes=ax1)
fname = iris.sample_data_path('air_temp.pp')
cube = iris.load_cube(fname)
ax2 = plt.subplot(2, 1, 2, projection=ccrs.PlateCarree())
qplt.pcolormesh(cube, cmap=cmap, axes=ax2)
/site-packages-path/cartopy/mpl/geoaxes.py:1544: UserWarning: The colormap's 'bad' has been set, but in order to wrap pcolormesh across the map it must be fully transparent.