MinMaxScale#

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

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.

Attributes

MinMaxScale.public_dir

Shortcut for dir(self).