diff --git a/spectral_cube/spectral_cube.py b/spectral_cube/spectral_cube.py index 5dca663ce..0183dec5f 100644 --- a/spectral_cube/spectral_cube.py +++ b/spectral_cube/spectral_cube.py @@ -430,7 +430,8 @@ def apply_numpy_function(self, function, fill=np.nan, includemask=includemask, progressbar=progressbar, **kwargs) elif how == 'ray': - out = self.apply_function(function, **kwargs) + out = self.apply_function(function, progressbar=progressbar, + **kwargs) elif how not in ['auto', 'cube']: warnings.warn("Cannot use how=%s. Using how=cube" % how, UnsupportedIterationStrategyWarning)