From 0692ec6a9765978da54bc682aadc75cf2924c05c Mon Sep 17 00:00:00 2001 From: Johannes Buchner Date: Fri, 25 Oct 2024 22:54:52 +0200 Subject: [PATCH] doc: make pydocstyle happy --- ultranest/pathsampler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ultranest/pathsampler.py b/ultranest/pathsampler.py index 85b3c182..b0aaf553 100644 --- a/ultranest/pathsampler.py +++ b/ultranest/pathsampler.py @@ -1,4 +1,4 @@ -"""MCMC-like step sampling on a trajectory +"""MCMC-like step sampling on a trajectory. These features are experimental. """ @@ -243,7 +243,7 @@ def set_gradient(self, grad_function): print("set gradient function to %s" % grad_function.__name__) def plot_gradient_wrapper(x, plot=False): - """wrapper that makes plots (when desired)""" + """Make plot while computing gradient (optionally).""" v = grad_function(x) if plot: plt.plot(x[0], x[1], '+ ', color='k', ms=10)