code: def _add_corr_bounds_subplot(
      fig: go.Figure,
      lower: np.ndarray,
      upper: np.ndarray,
      row: int,
      col: int,
  ) -> go.Figure:
      """Function to add the correlation confidence bounds to a Plotly subplot
  
      Parameters
      ----------
      fig : go.Figure
          Plotly figure to which the correlation confidence bounds need to be added
      lower : np.ndarray
          Lower Confidence Interval values
      upper : np.ndarray
          Upper Confidence Interval values
      row : int
          Row of the figure where the plot needs to be inserted. Starts from 1.
      col : int
          Column of the figure where the plot needs to be inserted. Starts from 1.
  
      Returns
      -------
      go.Figure
          Returns back the plotly figure with correlation confidence bounds inserted
      """
  
      # For some reason scattergl does not work here. Hence switching to scatter.
      # (refer: https://github.com/pycaret/pycaret/issues/2211).
  
      # Add the Upper Confidence Interval ----
      fig.add_scatter(
          x=np.arange(len(upper)),
          y=upper,
          mode="lines",
          line_color="rgba(255,255,255,0)",
          row=row,
          col=col,
          name="UC",
      )
  
      # Add the Lower Confidence Interval ----
      fig.add_scatter(
          x=np.arange(len(lower)),
          y=lower,
          mode="lines",
          fillcolor="rgba(32, 146, 230,0.3)",
          fill="tonexty",
          line_color="rgba(255,255,255,0)",
          row=row,
          col=col,
          name="LC",
      )
      return fig
  
imports: from math import ceil
  from typing import Any, Dict, List, Optional, Tuple, Union
  import matplotlib
  import matplotlib.pyplot
  import numpy
  import pandas
  import plotly.express
  import plotly.graph_objects
  import plotly.io
  from plotly.colors import DEFAULT_PLOTLY_COLORS
  from plotly.subplots import make_subplots
  from scipy.fft import fft, fftfreq
  from scipy.signal import periodogram
  from statsmodels.graphics.gofplots import qqplot
  from statsmodels.tsa.seasonal import STL, seasonal_decompose
  from statsmodels.tsa.stattools import acf, ccf, pacf
  from pycaret.internal.logging import get_logger
  from pycaret.utils.generic import _resolve_dict_keys
  from pycaret.utils.time_series import TSAllowedPlotDataTypes
label_desc: Use image node_id 4 for calling a global function with example usage: _add_corr_bounds_subplot(fig, lower, upper, row, col) and returns: fig