              logger.trace("Loading graph")  # type:ignore
              self.display_item = Session
              self._add_trace_variables()
          elif Session.is_training and self.display_item is not None:
              logger.trace("Graph already displayed. Nothing to do.")  # type:ignore
          else:
              logger.trace("Clearing graph")  # type:ignore
              self.display_item = None
              self._clear_trace_variables()
  
 
</s> remove             logger.trace("Loading graph")  # type:ignore
 </s> add             logger.trace("Loading graph")  # type:ignore[attr-defined] </s> remove             logger.trace("Clearing graph")  # type:ignore
 </s> add             logger.trace("Clearing graph")  # type:ignore[attr-defined] </s> remove             logger.trace("Logs disabled. Hiding graph")  # type:ignore
 </s> add             logger.trace("Logs disabled. Hiding graph")  # type:ignore[attr-defined] </s> remove         logger.trace("Loading latest preview")  # type:ignore
 </s> add         logger.trace("Loading latest preview")  # type:ignore[attr-defined] </s> remove             logger.trace("Preview not updated")  # type:ignore
 </s> add             logger.trace("Preview not updated")  # type:ignore[attr-defined]
            logger.trace("Graph already displayed. Nothing to do.")  # type:ignore[attr-defined]
              logger.trace("Loading graph")  # type:ignore
              self.display_item = Session
              self._add_trace_variables()
          elif Session.is_training and self.display_item is not None:
            logger.trace("Graph already displayed. Nothing to do.")  # type:ignore[attr-defined]
          else:
              logger.trace("Clearing graph")  # type:ignore
              self.display_item = None
              self._clear_trace_variables()
  
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 
lib/gui/display_command.py