code: def get_plot_compare_with_base_line_cfg(
      search_space, dataset, if_with_phase1=False
  ):
      if search_space == Config.NB201:
          run_range_ = range(0, 100, 1)
          if if_with_phase1:
              draw_graph = draw_anytime_result_with_p1
          else:
              draw_graph = draw_anytime_result
          # min, this is for plot only
          if dataset == Config.c10:
              # C10 array
              budget_array = [0.017, 0.083] + list(range(1, 350, 4))
              sub_graph_y1 = [91, 94.5]
              sub_graph_y2 = [53.5, 55]
              sub_graph_split = 60
          elif dataset == Config.c100:
              # C10 array
              budget_array = [0.017, 0.083] + list(range(1, 350, 4))
  
              sub_graph_y1 = [64, 73.5]
              sub_graph_y2 = [15, 16]
              sub_graph_split = 20
          else:
              # ImgNet X array
              budget_array = [0.017, 0.083] + list(range(1, 350, 4))
              sub_graph_y1 = [33, 48]
              sub_graph_y2 = [15.5, 17]
              sub_graph_split = 34
      else:
          # this is NB101 + C10, because only 101 has 20 run. others have 100 run.
          run_range_ = range(0, 20, 1)
          if if_with_phase1:
              draw_graph = draw_anytime_result_one_graph_with_p1
              # budget_array = list(range(1, 16, 1))
              budget_array = numpy.arange(0.02, 15, 0.02).tolist()
          else:
              draw_graph = draw_anytime_result_one_graph
              budget_array = [0.017, 0.083] + list(range(1, 2000, 8))
  
          if dataset == Config.c10:
              # C10 array
              # budget_array = list(range(0, 2000, 1))
              sub_graph_y1 = [90, 94.5]
              sub_graph_y2 = [52, 55]
              sub_graph_split = 60
          else:
              raise Exception
  
      return (
          run_range_,
          budget_array,
          sub_graph_y1,
          sub_graph_y2,
          sub_graph_split,
          draw_graph,
      )
  
file_path: singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/internal/ml/model_selection/exps/draw_img_lib.py
imports: import os
  from matplotlib import pyplot
  import seaborn
  import numpy
  import palettable
  from matplotlib.ticker import MaxNLocator
  import numpy
  from src.common.constant import Config
  import matplotlib
label_desc: Use image node_id 1 for calling a global function with example usage: get_plot_compare_with_base_line_cfg(search_space, dataset, if_with_phase1) and returns: run_range_,  budget_array,  sub_graph_y1,  sub_graph_y2,  sub_graph_split,  draw_graph