code: def update_zero_gap(
      prev: int = 0, size=10, gap: int = 5, max_step=100
  ):
      data: analyses.SeriesModel = analyses.series.Series().to_data()
      while prev <= max_step:
          step = []
          value = []
          for i in range(0, size // gap):
              prev += gap
              step.append(prev)
              value.append(1)
              step.append(prev)
              value.append(10)
  
          s = analyses.series.Series().load(data)
          s.update(step, value)
  
          data = s.to_data()
  
      print(data["step"].tolist())
  
file_path: labml/app/server/unit_tests/series.py
imports: from labml import monit
  from numpy.random import random, randint
  from labml_app.db import analyses
label_desc: Use image node_id 2 for calling a global function with example usage: update_zero_gap(prev, size, gap, max_step) without return types