code: def plot_treatment_outcome(treatment, outcome, time_var):
      plt.rc("font", size=SMALL_SIZE)  # controls default text sizes
      plt.rc(
          "axes", titlesize=BIGGER_SIZE
      )  # fontsize of the axes title
      plt.rc(
          "axes", labelsize=MEDIUM_SIZE
      )  # fontsize of the x and y labels
      plt.rc(
          "xtick", labelsize=MEDIUM_SIZE
      )  # fontsize of the tick labels
      plt.rc(
          "ytick", labelsize=MEDIUM_SIZE
      )  # fontsize of the tick labels
      plt.rc("legend", fontsize=MEDIUM_SIZE)  # legend fontsize
      plt.rc(
          "figure", titlesize=BIGGER_SIZE
      )  # fontsize of the figure title
      fig, ax = plt.subplots()
      tline = ax.plot(time_var, treatment, "o", label="Treatment")
      oline = ax.plot(time_var, outcome, "r^", label="Outcome")
  
      ax.legend(loc="upper left", bbox_to_anchor=(1.04, 1))
      plt.xlabel("Time")
      fig.set_size_inches(8, 6)
      fig.savefig(
          "obs_data" + datetime.now().strftime("%H-%M-%S") + ".png",
          bbox_inches="tight",
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: plot_treatment_outcome(treatment, outcome, time_var) without return types