Remove debug code

This commit is contained in:
jan 2017-09-06 21:04:57 -07:00
parent 10cd0778b8
commit a817bf6642

View File

@ -252,11 +252,6 @@ class Shape(metaclass=ABCMeta):
binary_rastered = (rastered >= 0.5) binary_rastered = (rastered >= 0.5)
supersampled = binary_rastered.repeat(2, axis=0).repeat(2, axis=1) supersampled = binary_rastered.repeat(2, axis=0).repeat(2, axis=1)
from matplotlib import pyplot
pyplot.pcolormesh(binary_rastered)
pyplot.colorbar()
pyplot.show()
contours = skimage.measure.find_contours(supersampled, 0.5) contours = skimage.measure.find_contours(supersampled, 0.5)
polygon_contours.append((offset, contours)) polygon_contours.append((offset, contours))