29 |
# Set the default color of the scalar bar's title and label to black. |
# Set the default color of the scalar bar's title and label to black. |
30 |
self.setTitleColor(Color.BLACK) |
self.setTitleColor(Color.BLACK) |
31 |
self.setLabelColor(Color.BLACK) |
self.setLabelColor(Color.BLACK) |
32 |
|
self.titleBoldOff() |
33 |
|
self.labelBoldOff() |
34 |
|
|
35 |
def _setScalarBarLookupTable(self, lookup_table): |
def _setScalarBarLookupTable(self, lookup_table): |
36 |
""" |
""" |
80 |
|
|
81 |
self.__vtk_scalar_bar.SetOrientationToHorizontal() |
self.__vtk_scalar_bar.SetOrientationToHorizontal() |
82 |
self.setWidth(0.8) |
self.setWidth(0.8) |
83 |
self.setHeight(0.14) |
self.setHeight(0.10) |
84 |
self.setPosition(LocalPosition(130,5)) |
self.setPosition(LocalPosition(130,5)) |
85 |
|
|
86 |
def setOrientationToVertical(self): |
def setOrientationToVertical(self): |