DeprecationWarning message fix for polyfit

Correcting function spelling (poyfit->polyfit) error in depreciation
warning.

Index: trunk/matplotlib/lib/matplotlib/mlab.py

···

===================================================================
--- trunk/matplotlib/lib/matplotlib/mlab.py (revision 7087)
+++ trunk/matplotlib/lib/matplotlib/mlab.py (working copy)
@@ -617,7 +617,7 @@
:func:`polyval`
polyval function
"""
- warnings.warn("use numpy.poyfit", DeprecationWarning)
+ warnings.warn("use numpy.polyfit", DeprecationWarning)
return np.polyfit(*args, **kwargs)

Aleksandar Veselinovic wrote:

Correcting function spelling (poyfit->polyfit) error in depreciation
warning.

Fixed in 7088. Thank you.

Eric

···

Index: trunk/matplotlib/lib/matplotlib/mlab.py

--- trunk/matplotlib/lib/matplotlib/mlab.py (revision 7087)
+++ trunk/matplotlib/lib/matplotlib/mlab.py (working copy)
@@ -617,7 +617,7 @@
         :func:`polyval`
            polyval function
     """
- warnings.warn("use numpy.poyfit", DeprecationWarning)
+ warnings.warn("use numpy.polyfit", DeprecationWarning)
     return np.polyfit(*args, **kwargs)
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options