update_variables#
- Visor.update_variables(dataset_id, variables)#
Update variables for a dataset.
- Parameters:
- Raises:
RuntimeErrorIf the update operation fails.
- Return type:
Notes
Each dictionary must include:
type(str or VisorVtkVariableType): “POINT” or “CELL”name(str): Non-empty variable namenum_components(int): Number of components (> 0)data(array-like): List, tuple, or numpy.ndarray shaped as (num_points, num_components) or a flat list divisible bynum_components.