class_docstr: Provides Matplotlib conversion functionality for Monte Epoch and Duration
  classes.
code: def convert(value, unit, axis):
      # docstring inherited
  
      # Delay-load due to circular dependencies.
      import matplotlib.testing.jpl_units as U
  
      if not cbook.is_scalar_or_string(value):
          return [EpochConverter.convert(x, unit, axis) for x in value]
      if unit is None:
          unit = EpochConverter.default_units(value, axis)
      if isinstance(value, U.Duration):
          return EpochConverter.duration2float(value)
      else:
          return EpochConverter.epoch2float(value, unit)
  
file_path: catboost/contrib/python/matplotlib/py3/matplotlib/testing/jpl_units/EpochConverter.py
imports: from matplotlib import cbook, units
  import matplotlib.dates
label_desc: Use image node_id 5 for calling the EpochConverter obj's underlying member method code with example usage: obj.convert(value, unit, axis) and returns: unknown, EpochConverter, EpochConverter