On Wed, Jun 11, 2008 at 10:13 AM, Tony Yu <[EMAIL PROTECTED]> wrote: > 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).
I think you may be getting your mpl versions mixed up -- svn trunk does not have examples/pylab/image_demo.py. The directory has been renamed examples/pylab_examples to avoid code breakage for people importing pylab and running in the examples dir. The image_demo example is running for me on the trunk. Try doing a svn up on the trunk, and a clean rebuild > rm -rf build > rm -rf /path/to/site-packages/matplotlib* Before reinstalling. JDH ------------------------------------------------------------------------- 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