Canvas Height¶
You can specify a custom height for the NiiVue canvas - in this example it is set to 1024 pixels. Here the width still scales to fir the width of the notebook.
In [1]:
from ipyniivue import NiiVue
nv = NiiVue(height=1024)
nv.load_volumes([{'path': '../images/mni152.nii.gz'}])
nv
Out[1]:
In [ ]:
In [ ]: