LongitudeLocator

class LongitudeLocator(lon0=0, *args, **kwargs)[source]

Bases: DegreeLocator

Locate longitude gridlines with degree-minute-second support. 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.

Parameters:

lon0 (float, default 0) – The central longitude around which the longitude labels are centered. This parameter adjusts the alignment of the longitude gridlines and labels, ensuring they are centered relative to the specified value.