Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Dec 5, 2023
1 parent 9d836fa commit d53181b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/annotators.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
>>> image = ...
>>> detections = sv.Detections(...)

>>> box_mask_annotator = sv.ColorAnnotator()
>>> annotated_frame = box_mask_annotator.annotate(
>>> color_annotator = sv.ColorAnnotator()
>>> annotated_frame = color_annotator.annotate(
... scene=image.copy(),
... detections=detections
... )
Expand Down
4 changes: 2 additions & 2 deletions supervision/annotators/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ def annotate(
>>> image = ...
>>> detections = sv.Detections(...)
>>> box_mask_annotator = sv.ColorAnnotator()
>>> annotated_frame = box_mask_annotator.annotate(
>>> color_annotator = sv.ColorAnnotator()
>>> annotated_frame = color_annotator.annotate(
... scene=image.copy(),
... detections=detections
... )
Expand Down

0 comments on commit d53181b

Please sign in to comment.