'Given the value of a coordinate, will format it according to the
format of the formatter_locator.'

def format_coord(self, value):

    if (not hasattr(self, '_fl_spacing')):
        return ''
    fl = self._formatter_locator
    if isinstance(fl, AngleFormatterLocator):
        if (self._coord_unit_scale is not None):
            value *= self._coord_unit_scale
        if (self.coord_type == 'longitude'):
            value = wrap_angle_at(value, self.coord_wrap)
        value = (value * u.degree)
        value = value.to_value(fl._unit)
    spacing = self._fl_spacing
    string = fl.formatter(values=([value] * fl._unit), spacing=spacing)
    return string[0]
