Skip to content

Commit

Permalink
fix typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Oct 11, 2018
1 parent 3696d4c commit 64e1483
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adaptive/learner/data_saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ def make_datasaver(learner_type, arg_picker):
Imagine we have a function that returns a dictionary
of the form: `{'y': y, 'err_est': err_est}`.
>>> DataSaver = make(Learner1D, arg_picker=operator.itemgetter('y'))
>>> DataSaver = make_datasaver(Learner1D,
... arg_picker=operator.itemgetter('y'))
>>> learner = DataSaver(function=f, bounds=(-1.0, 1.0))
Or when using `BalacingLearner.from_product`:
Expand Down

0 comments on commit 64e1483

Please sign in to comment.