napari term


synonym/closely related term


The canvas in the center of napari viewer contains the visual display of the data passed to napari, including images, points, shapes, and other supported data types.


A channel is an image where each pixel only contains its intensity value (i.e. grayscale image). In fluorescence microscopy, each channel corresponds to a range of wavelengths. An RGB image from digital camera consists of 3 channels - red, green, blue (RGB). In napari, an image dimension that is not spatial or temporal can be considered as channels, and is typically represented as individual image layer. See also this wiki page for specific examples.

raster band in geoscience


A colormap represents the value of each pixel as a particular color. In fluorescence microscopy, the colormap can be selected to mirror the color of the collected wavelength. In other applications, colormaps can be used to provide the visual representation of the measured signal. There are many different types of colormaps available, see choosing colormaps in matplotlib.

look up table, LUT


Events and connections are a way to tell napari “If this event occurs, then call this function”. Hooking up your own events.


Hooks are places in napari where plugins can offer extended functionality. See the napari hook specification reference in the napari plugin documentation.

hook specification

A function signature that defines the application programming interface (API) that a plugin developer must adhere to when writing the function that napari promises to call somewhere in the napari codebase. See also napari hook specifications.


The specific key or key combination that when pressed causes some function to occur. For example, command/control + C triggers “copy” in many operating systems. You can make your own custom keybindings, see this page on hooking up your own events.

keyboard short cut


The specific mouse move, click, or drag event that causes some function to occur. You can make your own custom mousebindings, see this page on hooking up your own events.

mouse short cut


Layers are the viewable objects that can be added to napari viewer. Currently napari supports the following layers: image, labels, points, shapes, surface, tracks, vectors.


A label is a region of an integer image where the pixels are the same unique value. It is implemented in napari in the labels layer where each label represents a unique object, feature or classification.


A point is defined by the coordinate in space. The points layer allows you to display an NxD array of N points in D coordinates.


Shapes are visual representations of N points in D coordinates. Shapes can be used as a visualization tool to indicate region of interest (ROI) or for downstream operations. In napari, the shapes layer is a viewable object that permits visualization of the following supported shapes: rectangle, ellipses, polygons, paths, and lines.

area selection tools in ImageJ


A surface comprises a set of triangles (typically in three dimensions) that are connected by their common edges or corners to form the mesh. See napari surface layer tutorial for current implementation and this wiki page for additional information.


A track describes object trajectories along the time dimension. The tracks layer defines a track by the list containing object coordinates and the time point, with each track assigned a unique track ID.


A vector is a line defined by its start and end positions in space. The vectors layer renders lines onto the canvas, with input data format as Nx2xD numpy array representing N vectors in D dimensions.


A small, composable graphical user interface component that can extend user’s ability to interact with layers and other napari functions. A widget could be a simple one parameter/control (e.g. a button) or a collection of multiple controls with data output.

dialog in ImageJ

dock widget

A widget that can be attached (docked) to the main napari viewer at a specified position.


A napari plugin is a specialized Python package that extends napari’s functionality. Examples of extended functionality include: additional file i/o support, image analysis, and other utilities. Plugin developers specify this functionality through a combination of Python entry points and a specialized manifest file. Plugins for napari can be found at napari hub. For a guide on how to make your own custom plugin, see creating a napari plugin.