-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Update the napari notebook #220
base: main
Are you sure you want to change the base?
ENH: Update the napari notebook #220
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@ntatsisk thanks! Yes, napari in CI is more difficult -- there needs to be a graphical context on the server. Some of the napari testing code or smart folks like @tlambert03 @jni @kne42 may provide hints. |
👋 hello, sorry for the delay! 😅 Some resources: we use https://github.com/aganders3/headless-gui and https://github.com/tlambert03/setup-qt-libs to set up our CI. To run napari in a remote notebook, you need jupyter-desktop to have a remote desktop on which to open the napari window. This repo should be the most up-to-date for getting that working: https://github.com/napari/napari-workshop-template/ (see the |
6dcf777
to
77f62b8
Compare
1e2e6e8
to
a793967
Compare
As suggested by Juan (@jni) in SciPy 2023 napari sprint
a793967
to
d45fd94
Compare
Hi @jni, thank you for your reply and your direct suggestions during the SciPy 2023 sprints, much appreciated! :) Unfortunately, still I cannot make it work. I am getting this error on that particular notebook that includes napari:
Any further ideas? Thanks! |
Updates
ITK_Example14_WorldCoordinatesExplanation_Napari.ipynb
to address #201. I also removed the qt version pins because they were forcing a very old napari version to be installed.When I test the notebook with pytest in an ubuntu machine via SSH, it passes normally. However, I cannot find how to make napari with jupuyter work in the CI. Some help would be appreciated.
Related to https://forum.image.sc/t/napari-jupyter-notebook-issue/32640/15?