class_docstr: Provides Matplotlib conversion functionality for Monte Epoch and Duration
  classes.
docstr: Convert a Duration value to a float suitable for plotting as a python
  datetime object.
  
  = INPUT VARIABLES
  - value    A Duration or list of Durations that need to be converted.
  
  = RETURN VALUE
  - Returns the value parameter converted to floats.
code: def duration2float(value):
      """
      Convert a Duration value to a float suitable for plotting as a python
      datetime object.
  
      = INPUT VARIABLES
      - value    A Duration or list of Durations that need to be converted.
  
      = RETURN VALUE
      - Returns the value parameter converted to floats.
      """
      return value.seconds() / 86400.0
  
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 4 for calling the EpochConverter obj's underlying member method code with example usage: obj.duration2float(value) and returns: unknown