legend_colorby#

prefs.legend_colorby(p0: str) int#

Specifies whether color palettes will be RGB or textures.

Args:
p0:

‘option’

  • RGB

  • textures

Examples:
# WARNING: following line includes OBSOLETE call (ensight.prefs.legend_colorby).
ensight.prefs.legend_colorby("textures")
Returns:

zero on success, non-zero on error