height#

legend.height(p0: float) int#

Set the height of the legend bar

The height is in terms of screen coordinates, which are 0.0 to 1.0 in both x and y directions.
Args:
p0:

‘num’ height of the legend bar

Examples:
ensight.legend.select_palette_begin("pressure")
ensight.legend.location_x(2.1362e-01)
ensight.legend.location_y(4.5270e-02)
ensight.legend.width(5.7778e-02)
ensight.legend.height(8.5655e-01)
Returns:

zero on success, non-zero on error