title_location#

legend.title_location(p0: str) int#

Set the visibility and location of a legend title in relation to the legend color bar.

Args:
p0:

‘location’

  • above

  • below

  • none

Examples:
ensight.legend.select_palette_begin("pressure")
ensight.legend.type("continuous")
# WARNING: following line includes OBSOLETE call (ensight.legend.title).
ensight.legend.title("below")
ensight.legend.select_palette_begin("velocity")
# WARNING: following line includes OBSOLETE call (ensight.legend.title).
ensight.legend.title("none")
Returns:

zero on success, non-zero on error