Skip to content

Commit

Permalink
Merge branch 'main' into 313-adding-docstrings-to-getter-methodes-for…
Browse files Browse the repository at this point in the history
…-hyperparameters-in-regression-and-classification-models
  • Loading branch information
sibre28 authored Jun 23, 2023
2 parents eb85f07 + 7f07f29 commit 117f89e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/safeds/data/image/containers/_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from PIL.Image import open as open_image

from safeds.data.image.typing import ImageFormat
from safeds.exceptions._data import WrongFileExtensionError
from safeds.exceptions import WrongFileExtensionError


class Image:
Expand Down Expand Up @@ -352,15 +352,15 @@ def adjust_contrast(self, factor: float) -> Image:
image_copy._image = ImageEnhance.Contrast(image_copy._image).enhance(factor)
return image_copy

def blur(self, radius: int = 1) -> Image:
def blur(self, radius: int) -> Image:
"""
Return the blurred image.
Parameters
----------
radius : int
Radius is directly proportional to the blur value. The radius is equal to the amount of pixels united in each direction.
A Radius of 1 will result in a united box of 9 pixels.
Radius is directly proportional to the blur value. The radius is equal to the amount of pixels united in
each direction. A radius of 1 will result in a united box of 9 pixels.
Returns
-------
Expand Down

0 comments on commit 117f89e

Please sign in to comment.