class_docstr: Information to support default axis labeling, tick labeling, and
  default limits. An instance of this class must be returned by
  :meth:`ConversionInterface.axisinfo`.
class_docstr_tok: ["Information","to","support","default","axis","labeling",",","tick","labeling",",","and","default","limits",".","An","instance","of","this","class","must","be","returned","by",":","meth",":","`","ConversionInterface.axisinfo","`","."]
docstr: Parameters
  ----------
  majloc, minloc : Locator, optional
      Tick locators for the major and minor ticks.
  majfmt, minfmt : Formatter, optional
      Tick formatters for the major and minor ticks.
  label : str, optional
      The default axis label.
  default_limits : optional
      The default min and max limits of the axis if no data has
      been plotted.
  
  Notes
  -----
  If any of the above are ``None``, the axis will simply use the
  default value.
docstr_tok: ["Parameters","--","--","--","--","--","majloc",",","minloc",":","Locator",",","optional","Tick","locators","for","the","major","and","minor","ticks",".","majfmt",",","minfmt",":","Formatter",",","optional","Tick","formatters","for","the","major","and","minor","ticks",".","label",":","str",",","optional","The","default","axis","label",".","default_limits",":","optional","The","default","min","and","max","limits","of","the","axis","if","no","data","has","been","plotted",".","Notes","--","--","-","If","any","of","the","above","are","``","None","``",",","the","axis","will","simply","use","the","default","value","."]
code: def __init__(
      self,
      majloc=None,
      minloc=None,
      majfmt=None,
      minfmt=None,
      label=None,
      default_limits=None,
  ):
      """
      Parameters
      ----------
      majloc, minloc : Locator, optional
          Tick locators for the major and minor ticks.
      majfmt, minfmt : Formatter, optional
          Tick formatters for the major and minor ticks.
      label : str, optional
          The default axis label.
      default_limits : optional
          The default min and max limits of the axis if no data has
          been plotted.
  
      Notes
      -----
      If any of the above are ``None``, the axis will simply use the
      default value.
      """
      self.majloc = majloc
      self.minloc = minloc
      self.majfmt = majfmt
      self.minfmt = minfmt
      self.label = label
      self.default_limits = default_limits
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/units.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from matplotlib.cbook import iterable, is_numlike, safe_first_element
  import numpy
label_desc: Use image node_id 1 to create a new AxisInfo object from inherited base classes: object with example: obj = AxisInfo(majloc, minloc, majfmt, minfmt, label, default_limits)