Refactor load_preferred_plugins

This commit is contained in:
Tony S Yu
2013-12-05 23:19:47 -06:00
parent ac4eb5ae7b
commit 0922ccf923
4 changed files with 64 additions and 24 deletions
+6 -1
View File
@@ -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