xoa.plot.import_cartopy#
- xoa.plot.import_cartopy()[source]#
Import cartopy lazily, with an explicit error message when it is missing
- Returns:
module – The
cartopy.crsmodulemodule – The
cartopy.featuremodule
- Raises:
ImportError – When cartopy is not installed