From dfd9fc8e6d696eec671445136b8a50a5c2c901bd Mon Sep 17 00:00:00 2001 From: SkalskiP Date: Fri, 12 Apr 2024 16:17:29 +0200 Subject: [PATCH] fix too long string --- supervision/detection/tools/polygon_zone.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/supervision/detection/tools/polygon_zone.py b/supervision/detection/tools/polygon_zone.py index 561cb9ce..a1997212 100644 --- a/supervision/detection/tools/polygon_zone.py +++ b/supervision/detection/tools/polygon_zone.py @@ -46,8 +46,9 @@ class PolygonZone: ): if frame_resolution_wh is not None: warnings.warn( - "The `frame_resolution_wh` parameter is no longer required and will be dropped in version " - "supervision-0.24.0. The mask resolution is now calculated automatically based on the polygon coordinates.", + "The `frame_resolution_wh` parameter is no longer required and will be " + "dropped in version supervision-0.24.0. The mask resolution is now " + "calculated automatically based on the polygon coordinates.", category=SupervisionWarnings, )