Unverified Commit e9a6cbb4 authored by Eldar Kurtic's avatar Eldar Kurtic Committed by GitHub
Browse files

Fixed missing new line in the crop docstring (#1922)

parent 2f433e0a
...@@ -348,6 +348,7 @@ def pad(img, padding, fill=0, padding_mode='constant'): ...@@ -348,6 +348,7 @@ def pad(img, padding, fill=0, padding_mode='constant'):
def crop(img, top, left, height, width): def crop(img, top, left, height, width):
"""Crop the given PIL Image. """Crop the given PIL Image.
Args: Args:
img (PIL Image): Image to be cropped. (0,0) denotes the top left corner of the image. img (PIL Image): Image to be cropped. (0,0) denotes the top left corner of the image.
top (int): Vertical component of the top left corner of the crop box. top (int): Vertical component of the top left corner of the crop box.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment