yt.frontends.stream.data_structures.StreamHierarchy.update_data

StreamHierarchy.update_data(data, units=None)[source]

Update the stream data with a new data dict. If fields already exist, they will be replaced, but if they do not, they will be added. Fields already in the stream but not part of the data dict will be left alone.