We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d93732 commit f1dbbdaCopy full SHA for f1dbbda
itkwidgets/viewer.py
@@ -256,7 +256,7 @@ def set_label_image(self, label_image: Image):
256
render_type = _detect_render_type(label_image, 'image')
257
if render_type is RenderType.IMAGE:
258
label_image = _get_viewer_image(label_image, label=True)
259
- self.queue_request('setImage', label_image)
+ self.queue_request('setLabelImage', label_image)
260
elif render_type is RenderType.POINT_SET:
261
label_image = _get_viewer_point_sets(label_image)
262
self.queue_request('setPointSets', label_image)
0 commit comments