DegreeFormatter

class DegreeFormatter(*args, **kwargs)[source]

Bases: _CartopyFormatter, _PlateCarreeFormatter

Formatter for longitude and latitude gridline labels. Adapted from cartopy.

Parameters

dms (bool, default: False) – Locate the ticks on clean degree-minute-second intervals and format the ticks with minutes and seconds instead of decimals.