From a817bf664203a63f6e1e800f0a5251bf82bd1f2f Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 6 Sep 2017 21:04:57 -0700 Subject: [PATCH] Remove debug code --- masque/shapes/shape.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/masque/shapes/shape.py b/masque/shapes/shape.py index 2112cce..02124d6 100644 --- a/masque/shapes/shape.py +++ b/masque/shapes/shape.py @@ -252,11 +252,6 @@ class Shape(metaclass=ABCMeta): binary_rastered = (rastered >= 0.5) 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) polygon_contours.append((offset, contours))