Spaces:
Runtime error
Runtime error
bug fix
Browse files- mypkg/draw.py +1 -1
mypkg/draw.py
CHANGED
@@ -27,7 +27,7 @@ def circle(
|
|
27 |
|
28 |
def rectangle(
|
29 |
width: int=500, height: int=500,
|
30 |
-
pt1: tuple
|
31 |
color: tuple=(0,0,255),
|
32 |
background: tuple=(0,0,0)
|
33 |
) -> npt.NDArray[np.uint8]:
|
|
|
27 |
|
28 |
def rectangle(
|
29 |
width: int=500, height: int=500,
|
30 |
+
pt1: tuple=None, pt2: tuple=None,
|
31 |
color: tuple=(0,0,255),
|
32 |
background: tuple=(0,0,0)
|
33 |
) -> npt.NDArray[np.uint8]:
|