Add imageΒΆ

Display one image using the view_image() API.

Tags: visualization-basic

add image
from skimage import data
import napari

# create the viewer with an image
viewer = napari.view_image(data.astronaut(), rgb=True)

if __name__ == '__main__':
    napari.run()

Gallery generated by Sphinx-Gallery