Skip to content

Commit

Permalink
Fix docstring issue for sphinx build
Browse files Browse the repository at this point in the history
  • Loading branch information
e-koch committed Oct 24, 2020
1 parent a5a38d1 commit 1448c8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spectral_cube/spectral_cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ def argmax_world(self, axis, **kwargs):
The axis to return the peak location along. e.g., `axis=0`
will return the value of the spectral axis at the peak value.
kwargs : dict
Passed to `~SpectralCube.argmax`.
Passed to `~SpectralCube.argmax`.
'''

argmax_plane = self.argmax(axis=axis, **kwargs)
Expand All @@ -850,13 +850,14 @@ def argmin_world(self, axis, **kwargs):
'''
Return the spatial or spectral index of the minimum value
along a line of sight.
Parameters
----------
axis : int
The axis to return the peak location along. e.g., `axis=0`
will return the value of the spectral axis at the peak value.
kwargs : dict
Passed to `~SpectralCube.argmax`.
Passed to `~SpectralCube.argmax`.
'''

argmin_plane = self.argmin(axis=axis, **kwargs)
Expand Down

0 comments on commit 1448c8e

Please sign in to comment.