I’m trying to show the GUI in my jupyter notebook but I need to setup the Jupyter Desktop Server, any idea on how to do it?
Please describe which installation option did you choose, what exactly did, did you expect to happen, and what happened instead.
I’m running option 2, everytime I run the following code 3D Slicer opens a new tab and won’t run its GUI in jupyter
app = slicernb.AppWindow(contents="full", windowScale=1)
slicer.util.selectModule("SegmentEditor")
segmentEditorWidget = slicer.modules.segmenteditor.widgetRepresentation().self().editor
segmentEditorNode = segmentEditorWidget.mrmlSegmentEditorNode()
segmentationNode=slicer.mrmlScene.AddNewNodeByClass("vtkMRMLSegmentationNode")
segmentEditorWidget.setSegmentationNode(segmentationNode)
segmentEditorWidget.setMasterVolumeNode(volumeNode)
display(app)