Skip to content

Commit 31a64fe

Browse files
committed
Remove zscale for vector slice plots
1 parent 9c90f37 commit 31a64fe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Packages/DV3D/DV3DPlot.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -932,9 +932,8 @@ def buildPlotButtons( self, **args ):
932932
if (self.type == '3d_vector') or not enable_3d_plots:
933933
sliderLabels= 'Slice Position' if enable_3d_plots else []
934934
b = bbar.addSliderButton( names=['ZSlider'], key='z', visible=enable_3d_plots, toggle=True, group='SliceRoundRobin', sliderLabels=sliderLabels, label="Slicing", state = 1, interactionHandler=self.processSlicingCommand )
935-
if not enable_3d_plots:
936-
vs_button = self.buttonBarHandler.findButton( 'VerticalScaling' )
937-
if vs_button is not None: vs_button.setVisibility( False )
935+
vs_button = self.buttonBarHandler.findButton( 'VerticalScaling' )
936+
if vs_button is not None: vs_button.setVisibility( False )
938937
else:
939938
b = bbar.addConfigButton( names=['SliceRoundRobin'], key='p', interactionHandler=bbar.sliceRoundRobin )
940939
b = bbar.addSliderButton( names=['XSlider'], key='x', toggle=True, group='SliceRoundRobin', sliderLabels='X Slice Position', label="Slicing", position=[0,3], interactionHandler=self.processSlicingCommand )

0 commit comments

Comments
 (0)