Plugin framework for image I/O.

This commit is contained in:
Stefan van der Walt
2009-10-31 21:10:27 +02:00
parent 05a4b73de6
commit 9bec0ef888
6 changed files with 179 additions and 41 deletions
+8
View File
@@ -0,0 +1,8 @@
import plugin
try:
import matplotlib.pyplot as plt
except ImportError:
pass
else:
plugin.register('matplotlib', show=plt.imshow, save=plt.imsave)