code: def sem_range_scatter(
      y: np.ndarray,
      trace_color: Tuple[int] = COLORS.STEELBLUE.value,
      legend_label: str = "",
  ) -> Tuple[go.Scatter, go.Scatter]:
      """Creates a graph object for trace of mean +/- 2 SEMs for y, across runs.
  
      Args:
          y: (r x t) array with results from  r runs and t trials.
          trace_color: tuple of 3 int values representing an RGB color.
              Defaults to blue.
          legend_label: Label for the legend group.
  
      Returns:
          Tuple[go.Scatter]: plotly graph objects for lower and upper bounds
      """
      mean = np.mean(y, axis=0)
      y[
          np.isinf(y)
      ] = (
          np.nan
      )  # avoids RuntimeWarning in np.std due to invalid values
      sem = np.std(y, axis=0) / np.sqrt(y.shape[0])
      return (
          go.Scatter(
              x=np.arange(1, y.shape[1] + 1),
              y=mean - 2 * sem,
              legendgroup=legend_label,
              mode="lines",
              line={"width": 0},
              showlegend=False,
              hoverinfo="none",
          ),
          go.Scatter(
              x=np.arange(1, y.shape[1] + 1),
              y=mean + 2 * sem,
              legendgroup=legend_label,
              mode="lines",
              line={"width": 0},
              fillcolor=rgba(trace_color, 0.3),
              fill="tonexty",
              showlegend=False,
              hoverinfo="none",
          ),
      )
  
imports: from datetime import datetime, timedelta
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  import pandas
  import plotly.graph_objs
  from ax.core.experiment import Experiment
  from ax.plot.base import AxPlotConfig, AxPlotTypes
  from ax.plot.color import COLORS, DISCRETE_COLOR_SCALE, rgba
  from ax.utils.common.timeutils import timestamps_in_range
  from ax.utils.common.typeutils import not_none
  from plotly import express
  from plotly.express.colors import sample_colorscale
label_desc: Use image node_id 4 for calling a global function with example usage: sem_range_scatter(y, trace_color, legend_label) and returns: go,  go