          list
              The list of samples, targets and masks as :class:`numpy.ndarrays` for creating a
              preview image
           """
          num_images = min(image_count, int(self._config.get("preview_images", 14)))
          retval: Dict[Literal["a", "b"], List[np.ndarray]] = {}
          for side in get_args(Literal["a", "b"]):
              logger.debug("Compiling samples: (side: '%s', samples: %s)", side, num_images)
              retval[side] = [feed[side][0:num_images],
                              samples[side][0:num_images],
 
</s> remove             preview_images = int(self._config.get("preview_images", 14))
            preview_images = min(max(preview_images, 2), 16)
 </s> add             preview_images = min(max(num_images, 2), 16) </s> remove     def __init__(self, model: "ModelBase", coverage_ratio: float) -> None:
        logger.debug("Initializing %s: model: '%s', coverage_ratio: %s)",
                     self.__class__.__name__, model, coverage_ratio)
 </s> add     def __init__(self,
                 model: "ModelBase",
                 coverage_ratio: float,
                 mask_opacity: int,
                 mask_color: str) -> None:
        logger.debug("Initializing %s: model: '%s', coverage_ratio: %s, mask_opacity: %s, "
                     "mask_color: %s)",
                     self.__class__.__name__, model, coverage_ratio, mask_opacity, mask_color) </s> remove                     if params["type"] == list and isinstance(initial_value, list):
 </s> add                     if params.datatype == list and isinstance(initial_value, list):
        num_images = self._config.get("preview_images", 14)
        assert isinstance(num_images, int)
        num_images = min(image_count, num_images)
          list
              The list of samples, targets and masks as :class:`numpy.ndarrays` for creating a
              preview image
           """
        num_images = self._config.get("preview_images", 14)
        assert isinstance(num_images, int)
        num_images = min(image_count, num_images)
          retval: Dict[Literal["a", "b"], List[np.ndarray]] = {}
          for side in get_args(Literal["a", "b"]):
              logger.debug("Compiling samples: (side: '%s', samples: %s)", side, num_images)
              retval[side] = [feed[side][0:num_images],
                              samples[side][0:num_images],
keep keep keep keep replace keep keep keep keep keep
 Preview - Allow mask color/opacity configuration
  - typing: lib.config
  - docs: lib.config
  - bugfix: popup_configure - keep assets on top 
plugins/train/trainer/_base.py