regionmask.plot_3D_mask

regionmask.plot_3D_mask(mask_3D, **kwargs)

flatten and plot 3D masks

Parameters:
mask_3Dxr.DataArray

3D mask to flatten and plot. Should be the result of Regions.mask_3D(…).

**kwargskeyword arguments

Keyword arguments passed to xr.plot.pcolormesh.

Returns:
meshmatplotlib.collections.QuadMesh