DegreeLocator¶
- class DegreeLocator(*args, **kwargs)[source]¶
Bases:
matplotlib.ticker.MaxNLocator
A locator for longitude and latitude gridlines. Adapted from cartopy.
- Parameters
dms (
bool
, optional) – Locate the ticks on clean degree-minute-second intervals and format the ticks with minutes and seconds instead of decimals. Default isFalse
.