Docstrings arguments cleanup (#3229)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
62916b3b0a
commit
bd0f7ecf6f
93 changed files with 1104 additions and 1102 deletions
|
|
@ -102,7 +102,7 @@ class Bboxes:
|
|||
def mul(self, scale):
|
||||
"""
|
||||
Args:
|
||||
scale (tuple) or (list) or (int): the scale for four coords.
|
||||
scale (tuple | list | int): the scale for four coords.
|
||||
"""
|
||||
if isinstance(scale, Number):
|
||||
scale = to_4tuple(scale)
|
||||
|
|
@ -116,7 +116,7 @@ class Bboxes:
|
|||
def add(self, offset):
|
||||
"""
|
||||
Args:
|
||||
offset (tuple) or (list) or (int): the offset for four coords.
|
||||
offset (tuple | list | int): the offset for four coords.
|
||||
"""
|
||||
if isinstance(offset, Number):
|
||||
offset = to_4tuple(offset)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue