On Jun 11, 2008, at 11:47 AM, John Hunter wrote: > 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.
Actually I mistyped earlier; I was using image_demo from pylab_examples. In any case, an svn up fixed the problem. Strangely enough, reverting back to the revision that was originally raising errors didn't bring the errors back. I must have been running a cached version of one of the files. Thanks for your help. -Tony ------------------------------------------------------------------------- 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