Skip to content

Commit

Permalink
Remove imshow from PIL plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Feb 7, 2015
1 parent 56ab76e commit 67c9e67
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions skimage/io/_plugins/pil_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 67c9e67

Please sign in to comment.