  
  from .utils import get_config, get_images
  
  if os.name == "nt":
      import win32console
  
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
 
</s> remove             var.set(True)
            var.trace("w", self.optbtn_reset)
 </s> add             if loss_key.startswith("loss"):
                var.set(True) </s> remove def initialize_config(cli_opts, scaling_factor, pathcache, statusbar, session):
 </s> add def initialize_config(root, cli_opts, scaling_factor, pathcache, statusbar, session): </s> remove             kwargs = {"values": values, "image": get_images().icons["graph"]}
 </s> add             kwargs = {"values": values}
            if self.check_valid_data(values):
                # Don't show graph icon for non-existent sessions
                kwargs["image"] = get_images().icons["graph"] </s> remove             if item == "raw":
 </s> add             if item == self.default_view: </s> remove             var.trace("w", self.optbtn_reset)
 </s> add 
    import win32console  # pylint: disable=import-error
  
  from .utils import get_config, get_images
  
  if os.name == "nt":
    import win32console  # pylint: disable=import-error
  
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
keep keep keep keep replace keep keep keep keep keep
 GUI Fixups

- Analysis: Handle missing session Ids
- Analysis: Handle invalid data selections
- Analysis: Don't update graph on check box selection
- Analysis: Add cursor events to analysis tab
- Analysis: Change default graph view
- Training: Prevent GUI from attempting to close graphs which do not exist
- Extract/Convert: Make file extensions case-insensitive for preview
- Progress bar: Make compatible for downloads
- Progress bar: Add TQDM Description to progress bar stats text 
lib/gui/wrapper.py