legend_visible#

plot.legend_visible(p0: str) int#

Controls the visibility of the legend for the currently selected plot(s).

Plot legends are visible by default.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.plot.select_begin(1)
ensight.plot.legend_visible("OFF")
Returns:

zero on success, non-zero on error