glyph1Display=Show(glyph1,renderView1)
glyph1Display.ColorArrayName = ['POINTS', 'FamilyIdNode']
glyph1Display.LookupTable = zeNameLUT
-# show color bar/color legend
-glyph1Display.SetScalarBarVisibility(renderView1, True)
# set scalar coloring
ColorBy(glyph1Display, ('POINTS', 'zeName'))
# rescale color and/or opacity maps used to include current data range
glyph1Display.RescaleTransferFunctionToDataRange(True)
-# show color bar/color legend
-glyph1Display.SetScalarBarVisibility(renderView1, True)
+# do not show color bar/color legend
+glyph1Display.SetScalarBarVisibility(renderView1, False)
#
renderView1.ViewSize =[300,300]
renderView1.GetRenderWindow().DoubleBufferOff()
# rescale color and/or opacity maps used to include current data range
testMEDReader20medDisplay.RescaleTransferFunctionToDataRange(True)
-# show color bar/color legend
-testMEDReader20medDisplay.SetScalarBarVisibility(renderView1, True)
+# do not show color bar/color legend
+testMEDReader20medDisplay.SetScalarBarVisibility(renderView1, False)
# get color transfer function/color map for 'Field'
fieldLUT = GetColorTransferFunction('Field')
# set scalar coloring
ColorBy(testTotomedDisplay, ('FIELD', 'vtkBlockColors'))
-# show color bar/color legend
-testTotomedDisplay.SetScalarBarVisibility(renderView1, True)
+# hide color bar/color legend
+testTotomedDisplay.SetScalarBarVisibility(renderView1, False)
# get color transfer function/color map for 'vtkBlockColors'
vtkBlockColorsLUT = GetColorTransferFunction('vtkBlockColors')
glyph1Display.LookupTable = myFieldLUT
glyph1Display.GlyphType = 'Arrow'
-# show color bar/color legend
-glyph1Display.SetScalarBarVisibility(renderView1, True)
+# hide color bar/color legend
+glyph1Display.SetScalarBarVisibility(renderView1, False)
#### saving camera placements for all active views