background_rgb#

plot.background_rgb(p0: float, p1: float, p2: float) int#

Specifies the background RGB color value for the currently selected plot(s).

Used only if plot: background_type is set to solid.
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.plot.select_begin(1)
ensight.plot.background_rgb(0,0,1)
Returns:

zero on success, non-zero on error