Merge pull request #136 from stefanv/plugin_consistency

ENH: Plugin consistency.
This commit is contained in:
tonysyu
2012-02-15 07:08:49 -08:00
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ from ._plugins import info as plugin_info
from ._plugins import configuration as plugin_order
available_plugins = plugins()
for preferred_plugin in ['pil', 'matplotlib', 'qt', 'null']:
for preferred_plugin in ['matplotlib', 'pil', 'qt', 'null']:
if preferred_plugin in available_plugins:
try:
use_plugin(preferred_plugin)
+1 -2
View File
@@ -1,4 +1,3 @@
[pil]
description = Image reading via the Python Imaging Library
provides = imread, imsave, imshow
provides = imread, imsave, imshow, _app_show
+3
View File
@@ -111,3 +111,6 @@ def imshow(arr):
"""
Image.fromarray(img_as_ubyte(arr)).show()
def _app_show():
pass