Commit f763ebee authored by natalieklein's avatar natalieklein

fix import Image in make_montage

parent 02f06889
......@@ -73,7 +73,7 @@ def make_montage(filename, fnames, orientation='h', colorbar=None,
out : array
The montage image data array.
"""
import Image
from PIL import Image
# This line is only necessary to overcome a PIL bug, see:
# http://stackoverflow.com/questions/10854903/what-is-causing-
# dimension-dependent-attributeerror-in-pil-fromarray-function
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment