axis_x_labelrgb#

viewport_bounds.axis_x_labelrgb(p0: float, p1: float, p2: float) int#

Set the color for the x/y/z axis labels

Args:
p0:

‘red_val’ red, green, blue color components (must be between 0.0 and 1.0)

p1:

‘grn_val’ red, green, blue color components (must be between 0.0 and 1.0)

p2:

‘blu_val’ red, green, blue color components (must be between 0.0 and 1.0)

Examples:
ensight.view.bounds("ON")
ensight.viewport.select_begin(0)
ensight.viewport_bounds.axis_x_labelrgb(4.0000e-01,0.0000e+00,1.0000e+00)
Returns:

zero on success, non-zero on error