          rcParams["keymap.save"] = [k for k in rcParams["keymap.save"] if k != "s"]
          rcParams["keymap.home"] = [k for k in rcParams["keymap.home"] if k != "r"]
  
      def should_toggle_mask(self) -> bool:
          """ Check whether the mask should be toggled and return the value. If ``True`` is returned
          then resets mask toggle back to ``False``
 
</s> remove     def _reassign_keys(cls):
        """ Remove `F`, 'S' and 'R' from their default bindings. """
 </s> add     def _configure_matplotlib(cls):
        """ Remove `F`, 'S' and 'R' from their default bindings and stop Matplotlib from stealing
        focus """ </s> remove         legacy_defaults = dict(centering="legacy",
                               mask_loss_function="mse",
                               l2_reg_term=100,
                               optimizer="adam",
                               mixed_precision=False)
 </s> add         legacy_defaults: Dict[str, Union[str, int, bool]] = dict(centering="legacy",
                                                                 mask_loss_function="mse",
                                                                 l2_reg_term=100,
                                                                 optimizer="adam",
                                                                 mixed_precision=False) </s> remove         self._reassign_keys()
 </s> add         self._configure_matplotlib() </s> remove         plt.show(block=False)
 </s> add 
        rcParams["figure.raise_window"] = False
          rcParams["keymap.save"] = [k for k in rcParams["keymap.save"] if k != "s"]
          rcParams["keymap.home"] = [k for k in rcParams["keymap.home"] if k != "r"]
        rcParams["figure.raise_window"] = False
  
      def should_toggle_mask(self) -> bool:
          """ Check whether the mask should be toggled and return the value. If ``True`` is returned
          then resets mask toggle back to ``False``
keep add keep keep keep keep
 bugfix: Stop preview window from stealing focus 
scripts/train.py