Simpleitk gui.py not showing sliders

python
simpleitk
(nsp) #1

Hi all,

Does anyone know why the slider not showing up in jupyter notebook when i try to display 3d images using the gui.MultiImageDisplay function? I just got a view of one slice.

The code:

gui.MultiImageDisplay([im1,im2],figure_size=(10,3),shared_slider=True)

The images are 120x120x40.

And then this message

VBox(children=(Box(children=(IntSlider(value=19, description=‘image slice:’, max=39),)), Box(children=(IntRang…

Thank you!

(Dženan Zukić) #2

Is this with ITK Jupyter Widgets? Or something else?

(nsp) #3

Sorry, it turns out that interactive jupyter widgets are not supported yet in visual studio code that I am using. Same issue with jupyter lab whose extension has to be installed as specified on the widgets installation page.

So this is not a ITK/SimpleITK issue.

Thanks!