mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-06 13:30:21 +08:00
Ensure that image shows when not run interactively
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user