text_size#

legend.text_size(p0: int) int#

Sets the size of font to use for legend title and labels.

This size is a relative size based on the graphics window. It will change appropriately as the graphics window changes.
Args:
p0:

‘size’ font size to use

Examples:
ensight.legend.select_palette_begin("velocity")
ensight.legend.text_size(35)
ensight.legend.format("%.2f")
ensight.legend.text_rgb(1.0000e+00,0.0000e+00,3.9608e-01)
Returns:

zero on success, non-zero on error