mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-16 11:21:25 +08:00
ENH: Add show() to PIL plugin to support more consistent code over different plugins.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
[pil]
|
||||
description = Image reading via the Python Imaging Library
|
||||
provides = imread, imsave, imshow
|
||||
|
||||
provides = imread, imsave, imshow, _app_show
|
||||
|
||||
@@ -111,3 +111,6 @@ def imshow(arr):
|
||||
|
||||
"""
|
||||
Image.fromarray(img_as_ubyte(arr)).show()
|
||||
|
||||
def _app_show():
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user