Hey all, 2009/2/10 Andrew Straw <straw...@astraw.com>: > Gary Ruben wrote: >> Hi Andrew, >> >> I don't have commit access. If you would check it in, that would be great. > > Committed to the trunk in r6899... Thanks! > > And, sheesh, SourceForge's SVN server is slooow today for me, although > it seems to have finally improved.
While trying to write a matplotlib plugin for scikits.image, we noticed that `imsave` isn't currently working (that goes for the one in Ubuntu [0.99 I think] as well as the latest SVN): Traceback (most recent call last): File "test_imsave.py", line 6, in <module> plt.imsave('test.jpg', img) File "/Users/stefan/lib/python2.6/site-packages/matplotlib/pyplot.py", line 1412, in imsave return _imsave(*args, **kwargs) File "/Users/stefan/lib/python2.6/site-packages/matplotlib/image.py", line 1025, in imsave fig = Figure(figsize=arr.shape[::-1], dpi=1, frameon=False) File "/Users/stefan/lib/python2.6/site-packages/matplotlib/figure.py", line 180, in __init__ self.bbox_inches = Bbox.from_bounds(0, 0, *figsize) TypeError: from_bounds() takes exactly 4 arguments (5 given) The commands needed to reproduce the error are: import matplotlib.pyplot as plt import numpy as np img = np.ones((50, 50, 3), dtype=np.uint8) plt.imsave('test.jpg', img) Regards Stéfan ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel