[IPython-User] Displaying multiple images?
Thomas Kluyver
takowl@gmail....
Thu Nov 15 07:37:49 CST 2012
On 15 November 2012 13:20, Darren Govoni <darren@ontrenet.com> wrote:
> But it only shows one image instead of 4.
>
> How can I display multiple images from a cell?
>
Use our display() function - it's like print() for multimedia:
from IPython.core.display import Image, display
for i in range(0, 3):
display(Image(filename='image'+str(i)+'.png'))
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121115/61eca116/attachment.html
More information about the IPython-User
mailing list