code: def method2color(name):
      global ct
      if name not in method2color_dict:
          method2color_dict[name] = f"C{ct}"
          ct += 1
      return method2color_dict[name]
  
file_path: H2O/h2o_flexgen/utils/plot_utils.py
imports: import matplotlib
  import matplotlib.pyplot
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: method2color(name) and returns: method2color_dict