Interval.update_domain
- Interval.update_domain(data, type: str | None = None, strict=True, precision: int = 3) None | str [source]
Updates the domain according to the given data.
- Parameters:
data (Union[List, np.ndarray]) – The data to update the domain.
type (str, optional, default=None) – The type of the domain.
strict (bool, optional, default=False) – If True, the domain is updated to match the data exactly. Otherwise, the domain is updated to include the data.
- Returns:
Union[None, str] – A message indicating if the domain was updated. If None, the domain was not updated.