code: def _on_batch_end(
      self,
      update: str,
      remaining_time: float,
      batch_number: int,
      metrics_str: str,
      steps: Union[int, None] = None,
      do_print: bool = True,
  ) -> None:
      # pylint: disable=too-many-arguments
      update += self._batch_update(
          remaining_time, batch_number, metrics_str, steps
      )
  
      if do_print:
          self._update_print(update)
  
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 11 for calling the ColorProgress obj's underlying member method code with example usage: obj._on_batch_end(update, remaining_time, batch_number, metrics_str, steps, do_print) without return types