napari.components

napari.components provides the public-facing models for widgets and other utilities that the user will be able to programmatically interact with.

Classes

Dims

Current indices along each data dimension, together with which dimensions are being displayed, projected, sliced…

LayerList

List of layers currently present in the viewer.

ViewerModel

Data viewer displaying the currently rendered scene and layer-related controls.

Classes

Camera

Camera object modeling position and view of the camera.

Dims

Dimensions object modeling slicing and displaying.

LayerList

List-like layer collection with built-in reordering and callback hooks.

ViewerModel

Viewer containing the rendered scene, layers, and controlling elements including dimension sliders, and control bars for color limits.