i_min = np.array(values.values()).min() - 3*std
prop_grid["min"] = i_min
if i_max is None:
i_max = np.array(values.values()).max() + 3*std
prop_grid["max"] = i_max
if i_min >= i_max:
raise ValueError(
After Change
"Property value is outside the specified minimum value."
)
if true_max > prop_grid["max"]:
raise ValueError(
"Property value is outside the specified maximum value."
)
elif dist_type == "discrete":
// Check that all values are integer
if not all(np.issubdtype(item, np.dtype(int).type) for item in values):