Re: [Matplotlib-users] Possible to disable wxAgg's smoothing of an image?

2008-05-09 Thread Michael Droettboom
Søren Nielsen wrote: > > Søren Nielsen wrote: > > Also, if I want to use matplotlib.patches on a canvas where I > can actually see individual pixels, is it possible to only > draw on the available pixels showing, and not just make a nice > high resolution line th

Re: [Matplotlib-users] Possible to disable wxAgg's smoothing of an image?

2008-05-08 Thread Søren Nielsen
On Thu, May 8, 2008 at 3:52 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > You can pass an "interpolation" parameter to imshow, or set a default in > "image.interpolation" in your matplotlibrc. From the imshow docstring: > > * interpolation is one of: > > 'nearest', 'biline

Re: [Matplotlib-users] Possible to disable wxAgg's smoothing of an image?

2008-05-08 Thread Michael Droettboom
You can pass an "interpolation" parameter to imshow, or set a default in "image.interpolation" in your matplotlibrc. From the imshow docstring: * interpolation is one of: 'nearest', 'bilinear', 'bicubic', 'spline16', 'spline36', 'hanning', 'hamming', 'hermite',

[Matplotlib-users] Possible to disable wxAgg's smoothing of an image?

2008-05-08 Thread Søren Nielsen
Hi, I have a displayed an image with imshow() under wxPython, and it looks great with the WxAgg figure canvas.. but sometimes I want to actually see pixels when I zoom.. and not just a nice smoothed image. Is it possible to disable the smoothing? The way it is now, I will never see square pixels n