select_default#

legend.select_default() int#

Sets the current legend selection to the default, so default attributes can be modified.

Any legend attributes set or modified after this command (and before another legend: select_palette_begin and legend: select_palette_end pair) will be applied to the “default” legend. The default legend attributes will be applied for any subsequent legends which are made active (made visible for the first time).
Examples:
ensight.legend.select_default()
ensight.legend.orientation("horizontal")
# WARNING: following line includes OBSOLETE call (ensight.legend.title).
ensight.legend.title("below")
Returns:

zero on success, non-zero on error