MinMaxScale#

class ansys.aedt.core.visualization.post.field_data.MinMaxScale(n_levels=10, min_value=0, max_value=1)[source]#

Provides methods and variables for editing min-max scale folder settings.

Parameters:
n_levelsint, optional

Number of color levels of the scale. Default is 10.

min_valuefloat, optional

Minimum value of the scale. Default is 0.

max_valuefloat, optional

Maximum value of the scale. Default is 1.

Methods

MinMaxScale.from_dict(dictionary)

Initialize the min-max scale settings from a dictionary.

MinMaxScale.to_dict()

Convert the min-max scale settings to a dictionary.