---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-49-3a43fec6a28d> in <module>()
1 fig = figure(figsize=(16,6))
----> 2 for i,im in enumerate(x.split(),1):
3 subplot(1,3,i)
4 im = imshow(im, vmin=0, vmax=np.max(x)*0.5)
5 if i == 3:
/usr/local/lib/python2.7/dist-packages/PIL/Image.pyc in split(self)
1495 "Split image into bands"
1496
-> 1497 if self.im.bands == 1:
1498 ims = [self.copy()]
1499 else:
AttributeError: 'NoneType' object has no attribute 'bands'