From 53bedad383e0c579179cf92cce9123556f03fa81 Mon Sep 17 00:00:00 2001 From: Jonathan Hoffstadt Date: Thu, 13 Aug 2020 18:10:34 -0500 Subject: [PATCH] [STUB] update polygon/polyline argument type --- DearPyGui/stubs/dearpygui.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DearPyGui/stubs/dearpygui.pyi b/DearPyGui/stubs/dearpygui.pyi index b9ce73903..7d0c65645 100644 --- a/DearPyGui/stubs/dearpygui.pyi +++ b/DearPyGui/stubs/dearpygui.pyi @@ -336,11 +336,11 @@ def draw_line(drawing: str, p1: List[float], p2: List[float], color: List[int], """Draws a line on a drawing.""" ... -def draw_polygon(drawing: str, points: List[float], color: List[int], fill: List[float] = ..., thickness: float = 1.0, tag: str = "") -> None: +def draw_polygon(drawing: str, points: List[List[float]], color: List[int], fill: List[float] = ..., thickness: float = 1.0, tag: str = "") -> None: """Draws a polygon on a drawing.""" ... -def draw_polyline(drawing: str, points: List[float], color: List[int], closed: int = False, thickness: float = 1.0, tag: str = "") -> None: +def draw_polyline(drawing: str, points: List[List[float]], color: List[int], closed: int = False, thickness: float = 1.0, tag: str = "") -> None: """Draws lines on a drawing.""" ...