type#

function.type(*args, **kwargs) Any#

Sets the type of color gradation that will be applied across elements.

Args:
p0:

‘type’

  • Can be one of the following types:

  • continuous

  • banded

  • constant

Examples:
ensight.function.palette("N_temperature")
ensight.function.type("banded")
Returns:

zero on success, non-zero on error