code: def makeYStepper(stepSize):
      def stepper(val, n, first: bool):
          if val < MIN_REGULAR_TIMESTAMP or val > MAX_REGULAR_TIMESTAMP:
              return np.inf
  
          d = utcfromtimestamp(val)
          next_year = (d.year // (n * stepSize) + 1) * (n * stepSize)
          if next_year > 9999:
              return np.inf
          next_date = datetime(next_year, 1, 1)
          return (next_date - datetime(1970, 1, 1)).total_seconds()
  
      return stepper
  
imports: import sys
  import time
  from collections import OrderedDict
  from datetime import datetime, timedelta, timezone
  import numpy
  from .AxisItem import AxisItem
label_desc: Use image node_id 4 for calling a global function with example usage: makeYStepper(stepSize) and returns: stepper, unknown, np, np