Re: [matplotlib-devel] imsave function

2009-11-08 Thread Stéfan van der Walt
Hi Gary Sorry, I didn't even read the docstring since I have been using SciPy's "imsave" so far. 2009/11/8 Gary Ruben : > This may be all you need. My tests (in the attached test.py) appear to > work. However, I don't think it's what you want. By default, figimage > even expects NxMx3 and NxMx4 a

Re: [matplotlib-devel] imsave function

2009-11-08 Thread Gary Ruben
So I think the change I suggested takes care of the floating point case, except that the vmin and vmax values don't default to 0.0 and 1.0. I wonder whether this is enough of a surprise to warrant some logic to set vmin and vmax in some cases, such as iff all array values are floats in the ra