DegreeLocator
- class DegreeLocator(*args, **kwargs)[source]
Bases:
MaxNLocatorLocate geographic 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.
Attributes Summary
Methods Summary
bin_boundaries(vmin, vmax)set_params(**kwargs)Set parameters for this locator.
Attributes Documentation
- default_params = {'dms': False, 'integer': False, 'min_n_ticks': 2, 'nbins': 8, 'prune': None, 'steps': None, 'symmetric': False}
Methods Documentation
- set_params(**kwargs)[source]
Set parameters for this locator.
- Parameters:
nbins (
intor'auto', optional) – seeMaxNLocatorsteps (array-like, optional) – see
MaxNLocatorinteger (
bool, optional) – seeMaxNLocatorsymmetric (
bool, optional) – seeMaxNLocatorprune (
{'lower', 'upper', 'both', None}, optional) – seeMaxNLocatormin_n_ticks (
int, optional) – seeMaxNLocator