class_docstr: Helper for `.MaxNLocator`, `.MultipleLocator`, etc.
  
  Take floating-point precision limitations into account when calculating
  tick locations as integer multiples of a step.
class_docstr_tok: ["Helper","for","`",".MaxNLocator","`",",","`",".MultipleLocator","`",",","etc",".","Take","floating-point","precision","limitations","into","account","when","calculating","tick","locations","as","integer","multiples","of","a","step","."]
docstr: Parameters
  ----------
  step : float > 0
      Interval between ticks.
  offset : float
      Offset subtracted from the data limits prior to calculating tick
      locations.
docstr_tok: ["Parameters","--","--","--","--","--","step",":","float",">","0","Interval","between","ticks",".","offset",":","float","Offset","subtracted","from","the","data","limits","prior","to","calculating","tick","locations","."]
code: def __init__(self, step, offset):
      """
      Parameters
      ----------
      step : float > 0
          Interval between ticks.
      offset : float
          Offset subtracted from the data limits prior to calculating tick
          locations.
      """
      if step <= 0:
          raise ValueError("'step' must be positive")
      self.step = step
      self._offset = abs(offset)
  
file_path: holoviews/holoviews/util/locator.py
imports: import math
  import numpy
label_desc: Use image node_id 1 to create a new _Edge_integer object  with example: obj = _Edge_integer(step, offset)