From: LUK S. <shu...@po...> - 2004-10-07 05:47:22
|
John Hunter wrote: > from tempfile import mktemp > from urllib import urlretrieve > from matplotlib.matlab import * > > url = 'http://matplotlib.sf.net/clara.png' > fname = mktemp('.png') > print 'Downloading image; this may take a minute...' > urlretrieve(url, fname) > > figure(figsize=(8,6)) > im = imread(fname) > imshow(im) > axis('off') > title('Clara Charlotte Hunter, born 10/2/2004') > show() > It didn't work OTOB with my rather old matplotlib and it gave me a good reason to upgrade. :-) Congratulations and best wishes for the whole family! ST -- |