From aa8d15d4513fd803528ec0eb04d489b8b0d57c22 Mon Sep 17 00:00:00 2001 From: e-koch Date: Sat, 24 Oct 2020 17:05:14 -0400 Subject: [PATCH] Fix docstring issue for sphinx build --- spectral_cube/spectral_cube.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spectral_cube/spectral_cube.py b/spectral_cube/spectral_cube.py index 7312eb5d8..8bfb4fa04 100644 --- a/spectral_cube/spectral_cube.py +++ b/spectral_cube/spectral_cube.py @@ -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) @@ -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)