auto_legend_display#

prefs.auto_legend_display(p0: str) int#

Will cause the legend to automatically appear when you color a part by a variable.

Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.prefs.auto_legend_replace("ON")
Returns:

zero on success, non-zero on error