Thanks for the link. I followed the instructions (including installing ipywidgets) and no longer get the error message regarding a missing AppWindow. However, the output doesn’t appear to be scaled to 0.5 similar to what is in the tutorial. If I change the scaling factor, the window size does not change. Is there anything else I missed?
but the height and width have not changed in the output.
Initially during the installation, a message appeared stating ipywidgets 7.0.0 was not compatible with ipycanvas. So I had upgraded it within Slicer to ipywidgets 7.5.1.
If you execute slicer.util.mainWindow().size = qt.QSize(width, height) then does your main window size change? Maybe the window is maximized? We should then add a call before setting the window size to set normal window state.
Thanks, I tried your suggestion but the window size still looks maximized. Please see attached screenshot…perhaps I’m not calling the function properly?
Thanks for pushing the fix. How can I install the latest SlicerJupyter extension with this fix? I uninstalled the SlicerJupyter extension and re-installed it. But the window size still does not change.
Extensions are rebuilt nightly (for each new Preview Release and the latest Stable Release), so you can either wait for that or update the modified .py file on your computer.