class_docstr: Base class for formatting ticks on geographical axes using a
  rectangular projection (e.g. Plate Carree, Mercator).
class_docstr_tok: ["Base","class","for","formatting","ticks","on","geographical","axes","using","a","rectangular","projection","(","e.g",".","Plate","Carree",",","Mercator",")","."]
docstr: Format seconds as an float
code: def _format_seconds(self, sec):
      """Format seconds as an float"""
      return f"{sec:{self._seconds_num_format}}{self._second_symbol}"
  
imports: import matplotlib
  from matplotlib.ticker import Formatter, MaxNLocator
  import numpy
  import cartopy.crs
  from cartopy.mpl.geoaxes import GeoAxes
label_desc: Use image node_id 9 for calling the _PlateCarreeFormatter obj's underlying member method code with example usage: obj._format_seconds(sec) and returns: sec, self