xoa.plot.import_cartopy

Contents

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.crs module

  • module – The cartopy.feature module

Raises:

ImportError – When cartopy is not installed