Permalink
Browse files

Merge branch 'poly'

  • Loading branch information...
1 parent 45020fb commit e777aafcf83e188419cec2b28fe7c1686a32ece0 @charris charris committed Aug 17, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 numpy/polynomial/polytemplate.py
@@ -545,7 +545,7 @@ def roots(self) :
roots = ${nick}roots(self.coef)
return pu.mapdomain(roots, $domain, self.domain)
- def linspace(self, n):
+ def linspace(self, n=100):
"""Return x,y values at equally spaced points in domain.
Returns x, y values at `n` equally spaced points across domain.
@@ -554,8 +554,8 @@ def linspace(self, n):
Paramters
---------
- n : int
- Number of point pairs to return.
+ n : int, optional
+ Number of point pairs to return. The default value is 100.
Returns
-------

0 comments on commit e777aaf

Please sign in to comment.