Skip to content

Commit ffd6d4f

Browse files
committed
DOC: Update doc string to include label_image info
1 parent e23632d commit ffd6d4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

itkwidgets/viewer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ def view(data=None, **kwargs):
248248
^^^^^^
249249
image : array_like, itk.Image, or vtk.vtkImageData
250250
The 2D or 3D image to visualize.
251+
label_image: array_like, itk.Image, or vtk.vtkImageData
252+
The 2D or 3D label map to visualize. If an image is also provided, the
253+
label map must have the same size.
251254
label_blend: float, default: 0.5
252255
Label map blend with intensity image, from 0.0 to 1.0.
253256
label_names: list of (label_value, label_name)

0 commit comments

Comments
 (0)