Skip to content

Commit 697a358

Browse files
Update torchvision/utils.py
Co-authored-by: Nicolas Hug <[email protected]>
1 parent ae6dafb commit 697a358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def draw_bounding_boxes(
187187
`/System/Library/Fonts/` and `~/Library/Fonts/` on macOS.
188188
font_size (int): The requested font size in points.
189189
label_colors (color or list of colors, optional): Colors for the label text. See the description of the
190-
`colors` argument for details. Defaults to the same colors used for the boxes.
190+
`colors` argument for details. Defaults to the same colors used for the boxes, or to black if ``fill_labels`` is True.
191191
fill_labels (bool): If `True` fills the label background with specified box color (from the ``colors`` parameter). Default: False.
192192
193193
Returns:

0 commit comments

Comments
 (0)