Hi Fernando and Matthias, <div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 1:29 PM, Fernando Perez <span dir="ltr"><<a href="mailto:fperez.net@gmail.com" target="_blank">fperez.net@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Tue, Nov 13, 2012 at 3:18 PM, Ariel Rokem <<a href="mailto:arokem@gmail.com" target="_blank">arokem@gmail.com</a>> wrote:<br>
><br>
> Any ideas? Thanks in advance!<br>
<br>
</div>You should call display(Image(....)).<br>
<br>
display() is the IPython equivalent of 'print' for the notebook. By<br>
default, we only call display on the *last* block of a cell, and not<br>
in a loop. So just like<br>
<br>
for i in range(10):<br>
i<br>
<br>
wouldn't print you the numbers and instead you'd write<br>
<div><br>
for i in range(10):<br>
print i<br>
<br>
</div>then you should do:<br>
<br>
for i in images:<br>
display(Image(i))<br>
<br>
Cheers,<br>
<div><div><br></div></div></blockquote><div><br></div><div>Thanks to both of you for the answers. It all makes sense and works great!</div><div><br></div><div>Cheers, </div><div><br></div><div>Ariel </div></div></div>