Skip to content

Commit

Permalink
doc: make pydocstyle happy
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesBuchner committed Oct 26, 2024
1 parent 4accb02 commit 0692ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ultranest/pathsampler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""MCMC-like step sampling on a trajectory
"""MCMC-like step sampling on a trajectory.
These features are experimental.
"""
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 0692ec6

Please sign in to comment.