set_dims#

ImageModel.set_dims(dims)#

Set the dimensions of the model.

This function is called if the dimensions in the HDF5Widget.dims_view are edited. The dimensions of the model are updated to match the input dimensions.