Closed christian-oreilly closed 5 months ago
In a notebook with cell #1:
#1
import ipyniivue nv = ipyniivue.Niivue(crosshair_color=[0,1,0,1])
Cell #2:
#2
display(nv)
Cell #3:
#3
nv.add_volume("https://niivue.github.io/niivue/images/mni152.nii.gz") nv.set_slice_type(nv.slice_type.render)
If I run in order cells #1, #2, #3, restart the kernel, run cells #1, #2. At this point, the display from when I ran cell #3 before restarting the kernel is still displayed and responsive.
Note, this issue is not there if I have
Cell #1:
import ipyniivue nv = ipyniivue.Niivue(crosshair_color=[0,1,0,1]) display(nv)
And run #1, #2, restart, #1
In a notebook with cell
#1
:Cell
#2
:Cell
#3
:If I run in order cells
#1
,#2
,#3
, restart the kernel, run cells#1
,#2
. At this point, the display from when I ran cell #3 before restarting the kernel is still displayed and responsive.Note, this issue is not there if I have
Cell
#1
:Cell
#2
:And run
#1
,#2
, restart,#1