@staticmethod
def convert(value, unit, axis):
    '\n        If *value* is not already a number or sequence of numbers,\n        convert it with :func:`date2num`.\n\n        The *unit* and *axis* arguments are not used.\n        '
    if units.ConversionInterface.is_numlike(value):
        return value
    return date2num(value)
If *value* is not already a number or sequence of numbers,
convert it with :func:`date2num`.

The *unit* and *axis* arguments are not used.
@staticmethod
def convert(value, unit, axis):
    '\n        If *value* is not already a number or sequence of numbers,\n        convert it with :func:`date2num`.\n\n        The *unit* and *axis* arguments are not used.\n        '
    if units.ConversionInterface.is_numlike(value):
        return value
    return date2num(value)