DegreeFormatter

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

Bases: proplot.ticker._CartopyFormatter, cartopy.mpl.ticker._PlateCarreeFormatter

A formatter 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 is False.