code: def set_all_colorbars(template, colorbar):
      for parent_path in colorscale_parent_paths:
          if not template.data[parent_path[0]]:
              template.data[parent_path[0]] = [{}]
  
          for trace in template.data[parent_path[0]]:
              parent = trace[parent_path[1:]]
  
              if "colorbar" in parent:
                  parent.colorbar = colorbar
  
label_desc: Use image node_id 1 for calling a global function with example usage: set_all_colorbars(template, colorbar) without return types