class_docstr: : A matplotlib converter class.  Provides matplotlib conversion
  functionality for Monte Epoch and Duration classes.
class_docstr_tok: [":","A","matplotlib","converter","class",".","Provides","matplotlib","conversion","functionality","for","Monte","Epoch","and","Duration","classes","."]
docstr: : Returns information on how to handle an axis that has Epoch data.
  
  = INPUT VARIABLES
  - unit    The units to use for a axis with Epoch data.
  
  = RETURN VALUE
  - Returns a matplotlib AxisInfo data structure that contains
    minor/major formatters, major/minor locators, and default
    label information.
docstr_tok: [":","Returns","information","on","how","to","handle","an","axis","that","has","Epoch","data",".","=","INPUT","VARIABLES","-","unit","The","units","to","use","for","a","axis","with","Epoch","data",".","=","RETURN","VALUE","-","Returns","a","matplotlib","AxisInfo","data","structure","that","contains","minor\/major","formatters",",","major\/minor","locators",",","and","default","label","information","."]
code: def axisinfo(unit, axis):
      """: Returns information on how to handle an axis that has Epoch data.
  
      = INPUT VARIABLES
      - unit    The units to use for a axis with Epoch data.
  
      = RETURN VALUE
      - Returns a matplotlib AxisInfo data structure that contains
        minor/major formatters, major/minor locators, and default
        label information.
      """
  
      majloc = date_ticker.AutoDateLocator()
      majfmt = date_ticker.AutoDateFormatter(majloc)
  
      return units.AxisInfo(majloc=majloc, majfmt=majfmt, label=unit)
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/testing/jpl_units/EpochConverter.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import matplotlib.units
  import matplotlib.dates
  from matplotlib.cbook import iterable
label_desc: Use image node_id 1 for calling the EpochConverter obj's underlying member method code with example usage: obj.axisinfo(unit, axis) and returns: units