From 67c9e67fce3db74228e8ef2c0a2152558265a42f Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sat, 7 Feb 2015 10:49:35 -0600 Subject: [PATCH] Remove imshow from PIL plugin --- skimage/io/_plugins/pil_plugin.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/skimage/io/_plugins/pil_plugin.py b/skimage/io/_plugins/pil_plugin.py index e2108145f4d..db58c3ba48c 100644 --- a/skimage/io/_plugins/pil_plugin.py +++ b/skimage/io/_plugins/pil_plugin.py @@ -260,20 +260,3 @@ def imsave(fname, arr, format_str=None): img = ndarray_to_pil(arr, format_str=format_str) img.save(fname, format=format_str) - - -def imshow(arr): - """Display an image, using PIL's default display command. - - Parameters - ---------- - arr : ndarray - Image to display. Images of dtype float are assumed to be in - [0, 1]. Images of dtype uint8 are in [0, 255]. - - """ - Image.fromarray(img_as_ubyte(arr)).show() - - -def _app_show(): - pass