[Paraview] Python script - change font color
Favre Jean
jfavre at cscs.ch
Thu Feb 26 09:33:47 EST 2015
#Suppose you're displaying a variable called "scalar"
scalarLUT = GetColorTransferFunction('scalar')
view = GetRenderView()
sBAR = GetScalarBar(scalarLUT, view)
sBAR.LabelColor=[0.,0.,0.]
Render()
-----------------
Jean/CSCS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150226/84172016/attachment.html>
More information about the ParaView
mailing list