      def resize_fig(self):
          """ Resize the figure back to the canvas """
          class Event():  # pylint: disable=too-few-public-methods
              """ Event class that needs to be passed to plotcanvas.resize """
              pass
          Event.width = self.winfo_width()
          Event.height = self.winfo_height()
          self.plotcanvas.resize(Event)  # pylint: disable=no-value-for-parameter
  
  
 
</s> remove         cmd = sys.argv[0]
        pathscript = os.path.realpath(os.path.dirname(cmd))
        self.args = arguments
        self.root = FaceswapGui(pathscript)
 </s> add         set_system_verbosity(arguments.loglevel)
        self.root = FaceswapGui(arguments.debug) </s> remove     def nothing():  # pylint: disable=useless-return
        """ Method that does nothing, used for disabling open/save pop up  """
 </s> add     def _nothing():  # pylint: disable=useless-return
        """ Method that does nothing, used for disabling open/save pop up.  """ </s> remove class ReadOnlyText(tk.Text):  # pylint: disable=too-many-ancestors
    """ A read only text widget that redirects a standard tk.Text widget's insert and delete
    attributes.
    Source: https://stackoverflow.com/questions/3842155
 </s> add class Config():
    """ The centralized configuration class for holding items that should be made available to all
    parts of the GUI.

    This class should be initialized on GUI startup through :func:`initialize_config`. Any further
    access to this class should be through :func:`get_config`.

    Parameters
    ----------
    root: :class:`tkinter.Tk`
        The root Tkinter object
    cli_opts: :class:`lib.gui.options.CliOpts`
        The command line options object
    statusbar: :class:`lib.gui.custom_widgets.StatusBar`
        The GUI Status bar
    session: :class:`lib.gui.stats.Session`
        The current training Session </s> remove def adjust_wraplength(event):
    """ dynamically adjust the wraplength of a label on event """
    label = event.widget
    label.configure(wraplength=event.width - 1)


 </s> add 
            pass  # pylint: disable=unnecessary-pass
      def resize_fig(self):
          """ Resize the figure back to the canvas """
          class Event():  # pylint: disable=too-few-public-methods
              """ Event class that needs to be passed to plotcanvas.resize """
            pass  # pylint: disable=unnecessary-pass
          Event.width = self.winfo_width()
          Event.height = self.winfo_height()
          self.plotcanvas.resize(Event)  # pylint: disable=no-value-for-parameter
  
  
keep keep keep keep replace keep keep keep keep keep
 GUI Updates (#940)

* lib.gui: Update icons
* tools.cli: Add video filetype flag to mask input
* lib.gui.popup_configure: Refresh GUI on config save
* lib.gui._config: Add Icon size and load last session options
* lib.gui.control_helper - Add control modification tracking
* lib.gui - Add Projects and Last Session
- Main root title handled by projects
- Add Hotkeys
- Create projects module
- split fsw and fst filetypes
- Add last_session saving

* lib.project
- Documentation
- Ask confirm on closing unsaved project
-Fixups

* Track model folder changes
- Shuffle some globals
- Activate System Verbosity for GUI

* lib.gui.utils - Documentation and clean up
- lib.gui.custom_widgets - Create and document

* Add GUI config option to disable auto loading model stats 
lib/gui/display_graph.py