On Wed, Oct 8, 2008 at 1:44 PM, David Huard <[EMAIL PROTECTED]> wrote:
> /usr/local/lib64/python2.5/site-packages/matplotlib/legend.pyc in > __init__(self, parent, handles, labels, loc, numpoints, prop, pad, > borderpad, markerscale, labelsep, handlelen, handletextsep, axespad, shadow) > 125 setattr(self,name,value) > 126 if pad: > --> 127 warnings.DeprecationWarning("Use 'borderpad' instead of > 'pad'.") > 128 # 2008/10/04 > 129 if self.numpoints <= 0: > > AttributeError: 'module' object has no attribute 'DeprecationWarning' I just replaced this with warnings.warn("Use 'borderpad' instead of 'pad'.", DeprecationWarning) which is what we have been doing in other parts of the code, so please give svn 6173 a try. Thanks, JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel