I\'m trying to draw polygons like this:
In [1]: canvas = numpy.zeros((12, 12), dtype=int) In [2]: mahotas.polygon.fill_polygon( ...: [(1, 1), (1, 10), (1
I think the reversal is required because numpy references array coordinates as y,x (row, column) where most other programs issue coordinates as x,y.