print("""
%d x %d, lim=%d reverse=%d""" % (n, n, lim, reverse))
pts = [(1, 1), (1, lim), (lim, lim), (lim, 1), (1, 1)]
if reverse:
    pts.reverse()
mahotas.polygon.fill_polygon(pts, canvas)
return canvas
for rev in (0, 1):
    for n in range(3, 14):
        pass
Drawing polygons in numpy arrays