mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-17 11:32:45 +08:00
null_plugin gets imread as promised in __ini__.py of plugins
This commit is contained in:
committed by
Stefan van der Walt
parent
79cde8df47
commit
7448ba2529
@@ -1,3 +1,3 @@
|
||||
[null]
|
||||
description = Default plugin that does nothing
|
||||
provides = imshow, _app_show
|
||||
provides = imshow, imread, _app_show
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
__all__ = ['imshow', '_app_show']
|
||||
__all__ = ['imshow', 'imread', '_app_show']
|
||||
|
||||
import warnings
|
||||
|
||||
@@ -12,4 +12,7 @@ for a list of available plugins.'''
|
||||
def imshow(*args, **kwargs):
|
||||
warnings.warn(RuntimeWarning(message))
|
||||
|
||||
def imread(*args, **kwargs):
|
||||
warnings.warn(RuntimeWarning(message))
|
||||
|
||||
_app_show = imshow
|
||||
|
||||
Reference in New Issue
Block a user