code: def set_params(self, subs=None, numticks=None):
          
          if numticks is not None:
              self.numticks = numticks
          if subs is not None:
              self._subs = subs
docs: Set parameters within this locator.
  
          Parameters
          ----------
          subs : array, optional
              Subtick values, as multiples of the main ticks.
          numticks : array, optional
              Number of ticks.