LatitudeLocator

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

Bases: DegreeLocator

Locate latitude 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.

Methods Summary

tick_values(vmin, vmax)

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

Methods Documentation

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]