Hi Stefan,

     It returns the image correctly as expected :

>>> from skimage import data
>>> data.checkerboard()
Image([[255, 255, 255, ...,   0,   0,   0],
       [255, 255, 255, ...,   0,   0,   0],
       [255, 255, 255, ...,   0,   0,   0],
       ..., 
       [  0,   0,   0, ..., 255, 255, 255],
       [  0,   0,   0, ..., 255, 255, 255],
       [  0,   0,   0, ..., 255, 255, 255]], dtype=uint8)


Regards, 
Ankit Agrawal,
Communication and Signal Processing,
IIT Bombay.


On Fri, Jul 12, 2013 at 12:59 AM, Stéfan van der Walt <stefan@sun.ac.za> wrote:
Hi Ankit

On Thu, Jul 11, 2013 at 3:32 PM, Ankit Agrawal <aaaagrawal@gmail.com> wrote:
> "/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-x86_64.egg/skimage/io/_plugins/plugin.py",
> line 47, in _scan_plugins
>     name = cp.sections()[0]
> IndexError: list index out of range

That's odd--the error is with your plugins, not with that specific
example.  Can you try

from skimage import data
data.checkerboard()

?

Stéfan

--
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.