mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-12 12:30:16 +08:00
Refactor load_preferred_plugins
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
__all__ = ['imshow', 'imread', '_app_show']
|
||||
__all__ = ['imshow', 'imread', 'imsave', '_app_show']
|
||||
|
||||
import warnings
|
||||
|
||||
@@ -17,4 +17,9 @@ def imshow(*args, **kwargs):
|
||||
def imread(*args, **kwargs):
|
||||
warnings.warn(RuntimeWarning(message))
|
||||
|
||||
|
||||
def imsave(*args, **kwargs):
|
||||
warnings.warn(RuntimeWarning(message))
|
||||
|
||||
|
||||
_app_show = imshow
|
||||
|
||||
Reference in New Issue
Block a user