Re: [matplotlib-devel] Bug in imsave

2013-04-08 Thread gary ruben
ceil doesn't work for me I tried figsize = [np.ceil(x / float(dpi)) for x in (arr.shape[1], arr.shape[0])] and it fails on my second test when dpi=2 and i=25 result=26x26 Gary On 9 April 2013 07:03, Michael Droettboom wrote: > On 04/08/2013 02:38 PM, Benjamin Root wrote: > > > > > On Sun, Apr

Re: [matplotlib-devel] Bug in imsave

2013-04-08 Thread Michael Droettboom
On 04/08/2013 02:38 PM, Benjamin Root wrote: On Sun, Apr 7, 2013 at 4:39 AM, gary ruben > wrote: Hi, I haven't looked at this list for a long time, so hi to all the active devs. I just came across a problem in the image.py imsave() function. Prob

Re: [matplotlib-devel] Bug in imsave

2013-04-08 Thread Benjamin Root
On Sun, Apr 7, 2013 at 4:39 AM, gary ruben wrote: > Hi, I haven't looked at this list for a long time, so hi to all the active > devs. > I just came across a problem in the image.py imsave() function. > > Problem: > At an ipython --pylab prompt, typing > > a = rand(29,29) > imsave('test.png', a)

Re: [matplotlib-devel] png error with git master, is it just me?

2013-04-08 Thread Michael Droettboom
Hey there, Just getting to this after a vacation. I think I was stymied by the fact that the Fedora package for pycxx provides a pkg-config file, whereas, as you point out, it is not upstream. I'll put my further comments on the issue. Cheers, Mike On 04/05/2013 11:23 PM, Fernando Perez wrot