class_docstr: String representation of the data at every tick.
class_docstr_tok: ["String","representation","of","the","data","at","every","tick","."]
docstr: Parameters
  ----------
  units_mapping : dict
      Mapping of category names (str) to indices (int).
docstr_tok: ["Parameters","--","--","--","--","--","units_mapping",":","dict","Mapping","of","category","names","(","str",")","to","indices","(","int",")","."]
code: def __init__(self, units_mapping):
      """
      Parameters
      ----------
      units_mapping : dict
          Mapping of category names (str) to indices (int).
      """
      self._units = units_mapping
  
imports: from collections import OrderedDict
  import dateutil.parser
  import itertools
  import logging
  import numpy
  from matplotlib import _api, ticker, units
label_desc: Use image node_id 1 to create a new StrCategoryFormatter object from inherited base classes: ticker with example: obj = StrCategoryFormatter(units_mapping)