From 2a55233b81a6ea18a57d1dd4f7bc5fff9f2fb681 Mon Sep 17 00:00:00 2001 From: Pierre de Buyl Date: Tue, 6 Sep 2016 14:42:08 +0200 Subject: DOC: change Numpy to NumPy in dosctrings and comments The strings in error messages were left untouched --- numpy/polynomial/_polybase.py | 2 +- numpy/polynomial/chebyshev.py | 2 +- numpy/polynomial/hermite.py | 2 +- numpy/polynomial/hermite_e.py | 2 +- numpy/polynomial/laguerre.py | 2 +- numpy/polynomial/legendre.py | 2 +- numpy/polynomial/polynomial.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'numpy/polynomial') diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py index 09190ce4e..be5cd3888 100644 --- a/numpy/polynomial/_polybase.py +++ b/numpy/polynomial/_polybase.py @@ -742,7 +742,7 @@ class ABCPolyBase(object): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For Numpy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11 a list of integers specifying the degrees of the terms to include may be used instead. domain : {None, [beg, end], []}, optional Domain to use for the returned series. If ``None``, diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py index dd346fbda..f3f491c29 100644 --- a/numpy/polynomial/chebyshev.py +++ b/numpy/polynomial/chebyshev.py @@ -1620,7 +1620,7 @@ def chebfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For Numpy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/hermite.py b/numpy/polynomial/hermite.py index 06d68668f..3172b41d0 100644 --- a/numpy/polynomial/hermite.py +++ b/numpy/polynomial/hermite.py @@ -1391,7 +1391,7 @@ def hermfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For Numpy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/hermite_e.py b/numpy/polynomial/hermite_e.py index a846b167c..7cc85de5d 100644 --- a/numpy/polynomial/hermite_e.py +++ b/numpy/polynomial/hermite_e.py @@ -1388,7 +1388,7 @@ def hermefit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For Numpy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/laguerre.py b/numpy/polynomial/laguerre.py index 60728c5f9..6aa086356 100644 --- a/numpy/polynomial/laguerre.py +++ b/numpy/polynomial/laguerre.py @@ -1390,7 +1390,7 @@ def lagfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For Numpy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/legendre.py b/numpy/polynomial/legendre.py index ec6c2f8bf..29e9a0897 100644 --- a/numpy/polynomial/legendre.py +++ b/numpy/polynomial/legendre.py @@ -1421,7 +1421,7 @@ def legfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For Numpy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/polynomial.py b/numpy/polynomial/polynomial.py index 3ed6b67a4..edefeed6c 100644 --- a/numpy/polynomial/polynomial.py +++ b/numpy/polynomial/polynomial.py @@ -1309,7 +1309,7 @@ def polyfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For Numpy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller -- cgit v1.2.3