Re: [matplotlib-devel] setupext.py chooses tk on mac OS X incorrectly

2009-02-07 Thread John Hunter
On Wed, Feb 4, 2009 at 5:08 PM, Jayson Barr wrote: > 4). I don't mind helping write the patch. I am only worried about > not knowing the intricacies of all the random supported platforms that > you all look out for. For example: I know jack about Windows linking. > Either way, I'll update it

[matplotlib-devel] imsave function

2009-02-07 Thread Gary Ruben
Hi, I've attached a patch against the mpl head in response to John's suggestion and helpful pointers on the users list. This adds a new function imsave to complement imread in the image module. I've also exposed it in the pyplot interface. If this is presumptuous, feel free to remove it from t

Re: [matplotlib-devel] imsave function

2009-02-07 Thread Andrew Straw
Hi Gary, I have a couple comments: 1) No need for: +ax = fig.add_subplot(111) +ax.set_axis_off() 2) It's probably best to have maximum compatibility with imshow(). Therefore, use vmin=None and vmax=None as keyword arguments (rather than clims). Otherwise, I tested and it works for me.