Skip to content

Commit ae6dafb

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

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
@@ -188,7 +188,7 @@ def draw_bounding_boxes(
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
190190
`colors` argument for details. Defaults to the same colors used for the boxes.
191-
fill_labels (bool): If `True` fills the label background with specified color. Default: False.
191+
fill_labels (bool): If `True` fills the label background with specified box color (from the ``colors`` parameter). Default: False.
192192
193193
Returns:
194194
img (Tensor[C, H, W]): Image Tensor of dtype uint8 with bounding boxes plotted.

0 commit comments

Comments
 (0)