Skip to content

Commit

Permalink
Fix misleading docstrings in transforms.py (#1314)
Browse files Browse the repository at this point in the history
* Update transforms.py

* Update transforms.py
  • Loading branch information
oguz-hanoglu committed Oct 17, 2022
1 parent b3b9684 commit 7029e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions albumentations/augmentations/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def get_transform_init_args_names(self):


class ImageCompression(ImageOnlyTransform):
"""Decrease Jpeg, WebP compression of an image.
"""Decreases image quality by Jpeg, WebP compression of an image.
Args:
quality_lower (float): lower bound on the image quality.
Expand Down Expand Up @@ -292,7 +292,7 @@ def get_transform_init_args(self):


class JpegCompression(ImageCompression):
"""Decrease Jpeg compression of an image.
"""Decreases image quality by Jpeg compression of an image.
Args:
quality_lower (float): lower bound on the jpeg quality. Should be in [0, 100] range
Expand Down

0 comments on commit 7029e80

Please sign in to comment.