def rectangle(width, height, dtype=np.uint8):
 return np.ones((width, height), dtype=dtype)

def rectangle ( width , height , dtype = np . uint8 ) : return np . ones ( ( width , height ) , dtype = dtype )
draw a rectangle with corners at the provided upper-left and lower-right coordinates .