code: def func(pct, allvals):
      absolute = int(np.round(pct / 100.0 * np.sum(allvals)))
      return f"{pct:.1f}%\n({absolute:d} g)"
  
label_desc: Use image node_id 1 for calling a global function with example usage: func(pct, allvals) and returns: pct, str, absolute, str