Domain.update_domain
- Domain.update_domain(data: List | ndarray, type: str | None = None, strict: bool = True, **kwargs) 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.