Skip to content
Browse files

Merge pull request #389 from scottza/interp-doc-fix

DOC: Fix typo in InterpolatedUnivariateSpline docstring example
  • Loading branch information...
2 parents 89c7f42 + 3d12bed commit c789baf2158232f961e41daec5785715237de892 @rgommers rgommers committed Dec 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 scipy/interpolate/fitpack2.py
View
4 scipy/interpolate/fitpack2.py
@@ -313,10 +313,10 @@ class InterpolatedUnivariateSpline(UnivariateSpline):
--------
>>> from numpy import linspace,exp
>>> from numpy.random import randn
- >>> from scipy.interpolate import UnivariateSpline
+ >>> from scipy.interpolate import InterpolatedUnivariateSpline
>>> x = linspace(-3, 3, 100)
>>> y = exp(-x**2) + randn(100)/10
- >>> s = UnivariateSpline(x, y, s=1)
+ >>> s = InterpolatedUnivariateSpline(x, y)
>>> xs = linspace(-3, 3, 1000)
>>> ys = s(xs)

0 comments on commit c789baf

Please sign in to comment.
Something went wrong with that request. Please try again.