code: def format_fn(tick_val, tick_pos):
      if int(tick_val) in xs:
          return labels[int(tick_val)]
      else:
          return ""
  
label_desc: Use image node_id 1 for calling a global function with example usage: format_fn(tick_val, tick_pos) and returns: labels, str