visible#
- legend.visible(p0: str) int #
To turn the visibility of a legend on or off.
The command applies to the currently selected legend(s)- Args:
- p0:
‘toggle’
ON
OFF
- Examples:
ensight.legend.select_palette_begin("pressure") ensight.legend.visible("ON") ensight.legend.select_palette_begin("velocity") ensight.legend.visible("OFF")
- Returns:
zero on success, non-zero on error