I apologize if this doesn't belong in the developers mailing list:

When I run image_demo.py in examples/pylab (using mpl r, I get AttributeError: set_resample.

This error seems to have been introduced in revision 5433 with the agg resample patch (i.e. image_demo.py works fine with r5432).

-Tony

Here's the full traceback:

Exception in Tkinter callback
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/lib-tk/Tkinter.py", line 1403, in __call__
    return self.func(*args)
File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/matplotlib/ backends/backend_tkagg.py", line 188, in resize
    self.show()
File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/matplotlib/ backends/backend_tkagg.py", line 191, in draw
    FigureCanvasAgg.draw(self)
File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/matplotlib/ backends/backend_agg.py", line 255, in draw
    self.figure.draw(self.renderer)
File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/matplotlib/ figure.py", line 825, in draw
    for a in self.axes: a.draw(renderer)
File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/matplotlib/ axes.py", line 1455, in draw
    im.draw(renderer)
File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/matplotlib/ image.py", line 232, in draw
    im = self.make_image(renderer.get_image_magnification())
File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/matplotlib/ image.py", line 205, in make_image
    im.set_resample(self._resample)
AttributeError: set_resample
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to