          self._tensorboard = self._set_tensorboard()
          self._samples = _Samples(self._model, self._model.coverage_ratio)
          self._timelapse = _Timelapse(self._model,
                                       self._model.coverage_ratio,
                                       int(self._config.get("preview_images", 14)),
                                       self._feeder,
                                       self._images)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _get_config(self, configfile: Optional[str]) -> ConfigType:
 
</s> remove         self._samples = _Samples(self._model, self._model.coverage_ratio)
 </s> add         self._samples = _Samples(self._model,
                                 self._model.coverage_ratio,
                                 cast(int, self._config["mask_opacity"]),
                                 cast(str, self._config["mask_color"]))

        num_images = self._config.get("preview_images", 14)
        assert isinstance(num_images, int) </s> remove     def _get_config(self, configfile: Optional[str]) -> ConfigType:
 </s> add     def _get_config(self, configfile: Optional[str]) -> Dict[str, "ConfigValueType"]: </s> remove         self._samples = _Samples(model, coverage_ratio)
 </s> add         self._samples = _Samples(model, coverage_ratio, mask_opacity, mask_color) </s> remove def _get_config(plugin_name: str, configfile: Optional[str] = None) -> ConfigType:
 </s> add def _get_config(plugin_name: str,
                configfile: Optional[str] = None) -> Dict[str, "ConfigValueType"]: </s> remove                                         variable)
 </s> add                                         variable,
                                        parent)
                                     num_images,
                                     cast(int, self._config["mask_opacity"]),
                                     cast(str, self._config["mask_color"]),
          self._tensorboard = self._set_tensorboard()
          self._samples = _Samples(self._model, self._model.coverage_ratio)
          self._timelapse = _Timelapse(self._model,
                                       self._model.coverage_ratio,
                                     num_images,
                                     cast(int, self._config["mask_opacity"]),
                                     cast(str, self._config["mask_color"]),
                                       self._feeder,
                                       self._images)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _get_config(self, configfile: Optional[str]) -> ConfigType:
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