Note
Go to the end to download the full example as a Python script or as a Jupyter notebook.
Add image transformed#
Display one image and transform it using the view_image()
API.
from skimage import data
import napari
# create the viewer with an image and transform (rotate) it
viewer = napari.view_image(data.astronaut(), rgb=True, rotate=45)
if __name__ == '__main__':
napari.run()