Skip to content
Snippets Groups Projects
Commit 2dc35765 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

ImageDisplay.volume is no longer a user-editable property. It will still

be used internally.
parent f5d4e6ce
No related branches found
No related tags found
No related merge requests found
...@@ -479,7 +479,6 @@ class ImageDisplay(props.HasProperties): ...@@ -479,7 +479,6 @@ class ImageDisplay(props.HasProperties):
_view = props.VGroup(('enabled', _view = props.VGroup(('enabled',
props.Widget('volume', enabledWhen=is4DImage),
'displayRange', 'displayRange',
'alpha', 'alpha',
'rangeClip', 'rangeClip',
...@@ -491,9 +490,7 @@ class ImageDisplay(props.HasProperties): ...@@ -491,9 +490,7 @@ class ImageDisplay(props.HasProperties):
'alpha' : 'Opacity', 'alpha' : 'Opacity',
'rangeClip' : 'Clipping', 'rangeClip' : 'Clipping',
'samplingRate' : 'Sampling rate', 'samplingRate' : 'Sampling rate',
'cmap' : 'Colour map', 'cmap' : 'Colour map'}
'volume' : 'Volume'
}
_tooltips = { _tooltips = {
'enabled' : 'Enable/disable this image', 'enabled' : 'Enable/disable this image',
...@@ -502,8 +499,7 @@ class ImageDisplay(props.HasProperties): ...@@ -502,8 +499,7 @@ class ImageDisplay(props.HasProperties):
'rangeClip' : 'Do not show areas of the image which lie ' 'rangeClip' : 'Do not show areas of the image which lie '
'outside of the display range', 'outside of the display range',
'samplingRate' : 'Draw every Nth voxel', 'samplingRate' : 'Draw every Nth voxel',
'cmap' : 'Colour map', 'cmap' : 'Colour map'}
'volume' : 'Volume to display (zero-indexed, for 4D images)'}
_propHelp = _tooltips _propHelp = _tooltips
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment