location_y#

legend.location_y(p0: float) int#

Set the horizontal/vertical location of the legend on the screen.

The range of valid x/y screen position values is 0.0 to 1.0.
Args:
p0:

‘num’ horizontal/vertical screen position of lower left of legend bar

Examples:
ensight.legend.select_palette_begin("pressure")
ensight.legend.location_x(.2)
ensight.legend.location_y(.05)
Returns:

zero on success, non-zero on error