code: def dual_axis_ts_plot(
      df,
      var1,
      var2,
      date_col,
      fig_width=25,
      fig_height=6,
      path=None,
      color1=palette.OrbitPalette.BLACK.value,
      color2=palette.OrbitPalette.BLUE.value,
  ):
      """This function plots two time series variables on two y axis. This is handy for comparison of two variables. The dual
      y axis will set on two different scales if the two variables are very different in terms of volume.
      Parameters
      -----------
      df : pandas data frame
          input df
      var1 : str
          name of the first variable
      var2 : str
          name of the second variable
      date_col : str
          date column name
      fig_width : int, optional
          adjust width of the chart
      fig_height : int, optional,
          adjust height of the chart
      path : str
          path to save the figure
      color1: str
          color for var1
      color2: str
          color for var2
  
      Returns
      -------
      one time series plot with dual y axis
      """
      df[date_col] = pd.to_datetime(df[date_col])
      fig, ax = plt.subplots(figsize=(fig_width, fig_height))
      sns.lineplot(
          data=df, x=date_col, y=var1, label=var1, color=color1
      )
      ax.set_ylabel(f"{var1}", color=color1)
      ax.tick_params(axis="y", labelcolor=color1)
      ax2 = ax.twinx()
      sns.lineplot(
          data=df, x=date_col, y=var2, ax=ax2, color=color2, label=var2
      )
      ax2.set_ylabel(f"{var2}", color=color2)
      ax2.tick_params(axis="y", labelcolor=color2)
      lines, labels = ax.get_legend_handles_labels()
      lines2, labels2 = ax2.get_legend_handles_labels()
      ax2.legend(lines + lines2, labels + labels2, loc=0)
      ax.set_title(f"{var1} vs {var2}")
      # ax.grid(False)
      ax2.grid(False)
  
      if path:
          fig.savefig(path)
  
      return ax
  
file_path: orbit/orbit/eda/eda_plot.py
imports: import seaborn
  from matplotlib import pyplot
  import pandas
  import math
  from orbit.constants import palette
  from orbit.utils.plot import orbit_style_decorator
label_desc: Use image node_id 3 for calling a global function with example usage: dual_axis_ts_plot(df, var1, var2, date_col, fig_width, fig_height, path, color1, color2) and returns: ax