Skip to content

Commit

Permalink
[STUB] update polygon/polyline argument type
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed Aug 13, 2020
1 parent 7c4fc63 commit 53bedad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DearPyGui/stubs/dearpygui.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
...

Expand Down

0 comments on commit 53bedad

Please sign in to comment.