The outline of the landmask is obtained from Natural Earth. It is automatically downloaded on-the-fly (but only once) with cartopy and opened with geopandas. The following landmasks are currently available:
If available, it is better to use the landmask of the used data set.
The following imports are necessary for the examples.
In : import cartopy.crs as ccrs In : import regionmask In : import matplotlib.pyplot as plt
From v0.5 the Caspian Sea is included in the (land-) mask.
In : land = regionmask.defined_regions.natural_earth.land_110 In : land.plot() Out: <GeoAxesSubplot:> In : plt.tight_layout()