cartopy.mpl.ticker.LatitudeLocator

class cartopy.mpl.ticker.LatitudeLocator(nbins=8, *, dms=False, **kwargs)[source]

A locator for latitudes that works even at very small scale.

Parameters

dms (bool) – Allow the locator to stop on minutes and seconds (False by default)

tick_values(vmin, vmax)[source]

Return the values of the located ticks given vmin and vmax.

Note

To get tick locations with the vmin and vmax values defined automatically for the associated axis simply call the Locator instance:

>>> print(type(loc))
<type 'Locator'>
>>> print(loc())
[1, 2, 3, 4]