cartopy.mpl.ticker.LongitudeFormatter#

class cartopy.mpl.ticker.LongitudeFormatter(direction_label=True, zero_direction_label=False, dateline_direction_label=False, degree_symbol='°', number_format='g', transform_precision=1e-08, dms=False, minute_symbol='′', second_symbol='″', seconds_number_format='g', auto_hide=True, decimal_point=None, cardinal_labels=None)[source]#

Tick formatter for a longitude axis.

set_locs(locs)[source]#

Set the locations of the ticks.

This method is called before computing the tick labels because some formatters need to know all tick locations to do so.