diff --git a/fsl/fsleyes/displaycontext/maskopts.py b/fsl/fsleyes/displaycontext/maskopts.py index 64fc9b67475c7a7f479fd70e7ec59ae5272c1787..aae45f9acc0924299367d0dbfb019d1abb9d0d7f 100644 --- a/fsl/fsleyes/displaycontext/maskopts.py +++ b/fsl/fsleyes/displaycontext/maskopts.py @@ -54,7 +54,7 @@ class MaskOpts(volumeopts.Nifti1Opts): self.dataMax = float(overlay.data.max()) dRangeLen = abs(self.dataMax - self.dataMin) - dMinDistance = dRangeLen / 10000.0 + dMinDistance = dRangeLen / 100.0 ################# # This is a hack. diff --git a/fsl/fsleyes/displaycontext/vectoropts.py b/fsl/fsleyes/displaycontext/vectoropts.py index 5b6a68e4717fd12ed4c2fd00fc36ffc1892ac6dc..dcfb79f46bc5e7af067d1da54195dfa9a73927a0 100644 --- a/fsl/fsleyes/displaycontext/vectoropts.py +++ b/fsl/fsleyes/displaycontext/vectoropts.py @@ -148,7 +148,7 @@ class VectorOpts(volumeopts.Nifti1Opts): # we add an offset allowing the user # to configure the overlay such that # no voxels are clipped. - distance = (maxval - minval) / 10000.0 + distance = (maxval - minval) / 100.0 self.clippingRange.xmin = minval - distance self.clippingRange.xmax = maxval + distance diff --git a/fsl/fsleyes/displaycontext/volumeopts.py b/fsl/fsleyes/displaycontext/volumeopts.py index e26646a3a95a8eef0b10cbf3df17ba71ceb3d82f..011a53479516a462f65883e50a1d4c3bad4ba96d 100644 --- a/fsl/fsleyes/displaycontext/volumeopts.py +++ b/fsl/fsleyes/displaycontext/volumeopts.py @@ -793,7 +793,7 @@ class VolumeOpts(Nifti1Opts): # a small offset to the clipping limits # so the user can configure the scene such # that no values are clipped. - distance = abs(dmax - dmin) / 10000.0 + distance = abs(dmax - dmin) / 100.0 self.clippingRange.xmin = dmin - distance self.clippingRange.xmax = dmax + distance