code: def pd_series_to_trace(
      s_pps: pd.Series, train_or_test: str, name: str
  ):
      """Create bar plotly bar trace out of pandas Series."""
      return go.Bar(
          x=s_pps.index,
          y=s_pps,
          name=name,
          marker_color=colors.get(train_or_test),
          text="<b>" + s_pps.round(2).astype(str) + "</b>",
          textposition="outside",
      )
  
file_path: deepchecks/deepchecks/core/check_utils/feature_label_correlation_utils.py
imports: from typing import Optional, Tuple
  import numpy
  import pandas
  import plotly.graph_objects
  import deepchecks.ppscore
  from deepchecks.utils.plot import DEFAULT_DATASET_NAMES, colors
  from deepchecks.utils.strings import format_percent
  from deepchecks.utils.typing import Hashable
label_desc: Use image node_id 2 for calling a global function with example usage: pd_series_to_trace(s_pps, train_or_test, name) and returns: go