We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2149360 commit 4930e03Copy full SHA for 4930e03
helpers/multiaspect/image.py
@@ -397,7 +397,7 @@ def adjust_for_divisibility(n):
397
)
398
399
@staticmethod
400
- def calculate_image_aspect_ratio(image, rounding: int = 3):
+ def calculate_image_aspect_ratio(image, rounding: int = 2):
401
"""
402
Calculate the aspect ratio of an image and round it to a specified precision.
403
@@ -418,7 +418,7 @@ def calculate_image_aspect_ratio(image, rounding: int = 3):
418
return aspect_ratio
419
420
421
- def determine_bucket_for_aspect_ratio(aspect_ratio, rounding: int = 3):
+ def determine_bucket_for_aspect_ratio(aspect_ratio, rounding: int = 2):
422
423
Determine the correct bucket for a given aspect ratio.
424
0 commit comments