You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was trying out scippneutron and following up with the tutorial 1_exploring-data.html and encountered two small issues which I worked around. I installed scippneutron by pip install scippneutron[all] in a new pyenv on Ubuntu.
When wanting to visualize instrument with scn.instrument_view() missing pythreejs dependency (installed it manually afterwards).
Then got an error on the plotting:
which was solved by modifying scene = fig.children[0].canvas.scene to scene = fig.canvas.scene in instrument_view.py.
Then it worked smoothly., but might as well report it.
Nice job btw.!
The text was updated successfully, but these errors were encountered:
Concerning the first point, the all extra is a bit misleading. If you want interactive (3d) plots in Jupyter, you need the interactive extra: pip install scippneutron[all, interactive]. I'm going to change this in the docs.
Hi all,
Was trying out
scippneutron
and following up with the tutorial 1_exploring-data.html and encountered two small issues which I worked around. I installed scippneutron bypip install scippneutron[all]
in a new pyenv on Ubuntu.scn.instrument_view()
missingpythreejs
dependency (installed it manually afterwards).which was solved by modifying
scene = fig.children[0].canvas.scene
toscene = fig.canvas.scene
ininstrument_view.py
.Then it worked smoothly., but might as well report it.
Nice job btw.!
The text was updated successfully, but these errors were encountered: