Ensure that image shows when not run interactively

This commit is contained in:
Tony S Yu
2013-10-21 23:02:50 -05:00
parent 7ba0540ec3
commit 4682f44d42
+1
View File
@@ -331,6 +331,7 @@ class Picture(object):
def show(self):
"""Display the image."""
io.imshow(self._rescale(self.array))
io.show()
def _makepixel(self, x, y):
"""Create a Pixel object for a given x, y location."""