code: def __init__(self, nbins, include_last=True):
      self.nbins = nbins
      self._include_last = include_last
  
imports: import numpy
  import math
  from mpl_toolkits.axisartist.grid_finder import ExtremeFinderSimple
label_desc: Use image node_id 1 to create a new LocatorBase object  with example: obj = LocatorBase(nbins, include_last)