diff --git a/Orange/widgets/model/owgradientboosting.py b/Orange/widgets/model/owgradientboosting.py index cfa8f9ba915..0baba814dda 100644 --- a/Orange/widgets/model/owgradientboosting.py +++ b/Orange/widgets/model/owgradientboosting.py @@ -125,7 +125,7 @@ def _add_main_layout(self): self._set_lambda_label() def _set_lambda_label(self): - self.lambda_label.setText("Lambda: {}".format(self.lambda_)) + self.lambda_label.setText(f"Lambda: {self.lambda_}") def get_arguments(self) -> Dict: params = super().get_arguments()