Amazing job with Napari. When one adds an image layer it automatically adjusts LUT (and I believe size to fit the viewer). However when one updates the layer with other data e.g.
my_image_layer = viewer.add_image(foo)
my_image_layer.data = new_foo
The new image is not adjusted. So in order for this to happen one could delete the old layer and insert the new image in a new image layer. However I was wondering whether there might be any function, that is run when creating the layer, and can be accessed, to autoadjust LUT? I hope I made the question clear if it is not hit me back please !