code: def _get_formatted_metrics(self, metrics_str: str) -> str:
      formatted_metrics = ""
      for metric in metrics_str.split(","):
          name_value = metric.split(":")
          name = name_value[0]
          value = name_value[1]
          formatted_metrics += (
              self.text_color
              + name
              + ":"
              + self.metric_value_color
              + value
          )
  
      return formatted_metrics
  
imports: import math
  import sys
  import time
  import warnings
  from typing import Dict, Union
  from poutyne.framework.callbacks.progress_bar import ProgressBar
  from poutyne.utils import is_in_jupyter_notebook
label_desc: Use image node_id 23 for calling the ColorProgress obj's underlying member method code with example usage: obj._get_formatted_metrics(metrics_str) and returns: formatted_metrics