Permalink
Browse files

DOC: Fix typo in InterpolatedUnivariateSpline docstring example

  • Loading branch information...
1 parent 89c7f42 commit 3d12bed26ca7f500e0feeb8fcc4dc653c5a9228b @scottza scottza committed Dec 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 3d12bed

Please sign in to comment.