code: def get_leaf_loc(den):
      """
      Get the location of the leaves
      """
      _from = int(np.array(den["icoord"]).min())
      _to = int(np.array(den["icoord"]).max() + 1)
      return range(_from, _to, 10)
  
imports: import pandas
  import altair
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: get_leaf_loc(den) and returns: range