Note
Click here to download the full example code
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()