              self._samples.generate,
              self._tk_vars)
          self._opts_book = OptionsBook(options_frame,
                                        self._config_tools,
                                        self._refresh,
                                        self._scaling)
          container.add(options_frame)
  
  
  class Samples():
      """ The display samples.
 
</s> remove     def _get_scaling(self):
        """ Get dpi and update scaling for the display.

        Returns
        -------
        float: The scaling factor for display
        """
        dpi = self.winfo_fpixels("1i")
        scaling = dpi / 72.0
        logger.debug("dpi: %s, scaling: %s'", dpi, scaling)
        return scaling

    def _set_geometry(self):
        """ Set the GUI window geometry. """
        self.tk.call("tk", "scaling", self._scaling)
        width = int(940 * self._scaling)
        height = int(600 * self._scaling)
        logger.debug("Geometry: %sx%s", width, height)
        self.geometry("{}x{}+80+80".format(str(width), str(height)))

 </s> add  </s> remove         container.add(self._image_canvas, height=400 * self._scaling)
 </s> add         container.add(self._image_canvas, height=400 * get_config().scaling_factor) </s> remove         """ list: The mask names that are available for every face in the alignmnets file """
 </s> add         """ list: The mask names that are available for every face in the alignments file """ </s> remove     scaling: float
        The scaling factor for display
 </s> add  </s> remove         self._scaling = self._get_scaling()
 </s> add 
                                      self._refresh)
              self._samples.generate,
              self._tk_vars)
          self._opts_book = OptionsBook(options_frame,
                                        self._config_tools,
                                      self._refresh)
                                      self._refresh)
          container.add(options_frame)
  
  
  class Samples():
      """ The display samples.
keep keep keep keep replace replace keep keep keep keep keep
 lib.gui
Centralize get_scaling and set_geometry to utils.config
Suppress Error when rebuilding GUI for TreeView 
tools/preview.py