Browse code

2D: fix typo

Bas Nijholt authored on 08/10/2019 16:00:18
Showing 1 changed files
... ...
@@ -459,11 +459,11 @@ class Learner2D(BaseLearner):
459 459
 
460 460
         Returns
461 461
         -------
462
-        interpolate : `scipy.interpolate.LinearNDInterpolator`
462
+        interpolator : `scipy.interpolate.LinearNDInterpolator`
463 463
 
464 464
         Examples
465 465
         --------
466
-        >>> xs, ys = [np.linspace(*b, n=100) for b in learner.bounds]
466
+        >>> xs, ys = [np.linspace(*b, num=100) for b in learner.bounds]
467 467
         >>> ip = learner.interpolator()
468 468
         >>> zs = ip(xs[:, None], ys[None, :])
469 469
         """