From 94bc330296e01d8fc0cb14aba1354ddb6d8587cc Mon Sep 17 00:00:00 2001 From: Alan McIntyre Date: Thu, 3 Jul 2008 03:51:46 +0000 Subject: Use the implicit "import numpy as np" made available to all doctests instead of an explicit import. Remove ">>>" from bartlett plotting example since it currently requires matplotlib. --- numpy/lib/polynomial.py | 1 - 1 file changed, 1 deletion(-) (limited to 'numpy/lib/polynomial.py') diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py index ab2febf35..141e85e25 100644 --- a/numpy/lib/polynomial.py +++ b/numpy/lib/polynomial.py @@ -223,7 +223,6 @@ def polyfit(x, y, deg, rcond=None, full=False): ----- RankWarning : if rank is reduced and not full output The warnings can be turned off by: - >>> import numpy as np >>> import warnings >>> warnings.simplefilter('ignore',np.RankWarning) -- cgit v1.2.1