baybe.utils.plotting.to_string¶
- baybe.utils.plotting.to_string(header: str, *fields: Any, single_line: bool = False)[source]¶
 Create a nested string representation.
- Parameters:
 - Raises:
 ValueError – If
single_lineisTruebutfieldscontains more than one element.- Return type:
 - Returns:
 The string representation with indented fields.