On Fri, Jun 27, 2008 at 1:31 PM, Andrew Jaffe <[EMAIL PROTECTED]> wrote: > Hi- > > [OK, sorry for all the top-posting...] > > Anyway, if I move to the current svn, I get > > In [1]: switch_backend('Agg') > --------------------------------------------------------------------------- > TypeError Traceback (most recent call last) > > /Users/jaffe/home/python/<ipython console> in <module>() > > /Users/jaffe/Library/Python/2.5/site-packages/matplotlib-0.98.2-py2.5-macosx-10.3-fat.egg/matplotlib/pyplot.pyc > in switch_backend(newbackend) > 53 close('all') > 54 global new_figure_manager, draw_if_interactive, show > ---> 55 matplotlib.use(newbackend, warn=False) > 56 reload(matplotlib.backends) > 57 from matplotlib.backends import pylab_setup > > TypeError: use() got an unexpected keyword argument 'warn'
Try removing all the matplotlib installs, eggs, etc. Something is getting confused, because warn is a valid keyword to use in svn. > rm -rf /Users/jaffe/Library/Python/2.5/site-packages/matplotlib* > rm -rf build > clean reinstall of mpl ------------------------------------------------------------------------- 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-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users