[IPython-User] Displaying multiple images?

Darren Govoni darren@ontrenet....
Thu Nov 15 07:49:18 CST 2012


Thanks everyone. Works great! Sorry for missing previous details.

<br><br><br>------- Original Message -------
On 11/15/2012  08:43 AM Matthias BUSSONNIER wrote:<br>
<br>Le 15 nov. 2012 � 14:20, Darren Govoni a �crit :
<br>
<br>> Hi,
<br>> 
<br>>   I am wanting to display multiple images in a loop and have each one displyed in my notebook. For example:
<br>> 
<br>> for i in range(0,3):
<br>> 
<br>>     img = plt.imread('image-'+i+'.png')
<br>> 
<br>>     imshow(img)
<br>> 
<br>> But it only shows one image instead of 4.
<br>> 
<br>> How can I display multiple images from a cell?
<br>> 
<br>You can inspire from 2 day ago question : 
<br>http://python.6.n6.nabble.com/IPython-User-Calling-Image-several-times-in-the-same-cell-td4995736.html
<br>for longer explanation.
<br>-- 
<br>Matthias
<br>
<br>> thanks!
<br>> 
<br>> _______________________________________________
<br>> IPython-User mailing list
<br>> IPython-User@scipy.org
<br>> http://mail.scipy.org/mailman/listinfo/ipython-user
<br>
<br>
<br>_______________________________________________
<br>IPython-User mailing list
<br>IPython-User@scipy.org
<br>http://mail.scipy.org/mailman/listinfo/ipython-user
<br>


More information about the IPython-User mailing list