code: def method2style(name):
      prefix = name.split(" ")[0]
      if name == "FlexGen (c)":
          prefix = name
      if prefix not in method2style_dict:
          method2style_dict[prefix] = "dotted"
      return method2style_dict[prefix]
  
file_path: H2O/h2o_flexgen/utils/plot_utils.py
imports: import matplotlib
  import matplotlib.pyplot
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: method2style(name) and returns: method2style_dict