Skip to content

Commit d23f749

Browse files
committed
2D: fix typo
1 parent 999ca35 commit d23f749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adaptive/learner/learner2D.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,11 @@ def interpolator(self, *, scaled=False):
459459
460460
Returns
461461
-------
462-
interpolate : `scipy.interpolate.LinearNDInterpolator`
462+
interpolator : `scipy.interpolate.LinearNDInterpolator`
463463
464464
Examples
465465
--------
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]
467467
>>> ip = learner.interpolator()
468468
>>> zs = ip(xs[:, None], ys[None, :])
469469
"""

0 commit comments

Comments
 (0)