Return True if cartopy is installed and enabled. Returns: :obj:`bool`: True if cartopy is installed and enabled.
()
| 108 | |
| 109 | @init_local() |
| 110 | def cartopy_enabled(): |
| 111 | """Return True if cartopy is installed and enabled. |
| 112 | |
| 113 | Returns: |
| 114 | |
| 115 | :obj:`bool`: True if cartopy is installed and enabled. |
| 116 | |
| 117 | """ |
| 118 | global _local_config |
| 119 | return _local_config.cartopy_enabled |
| 120 | |
| 121 | |
| 122 | @init_local() |