itkwidgets icon indicating copy to clipboard operation
itkwidgets copied to clipboard

mode / view_mode inefficient

Open SimonRit opened this issue 2 years ago • 2 comments

Using the latest pre-release (using jupyer notebooks on Linux Python 3.9), passing mode='x' or view_mode='x' (idem for y / z) as parameter to itkwidgets.view does not change the display mode, one still has the 3D view. Pressing the corresponding buttons on the user interface does work.

SimonRit avatar Aug 29 '22 07:08 SimonRit

@SimonRit thanks for the report.

We are working on addressing this via #515 #466

thewtex avatar Aug 29 '22 20:08 thewtex

Excellent, thanks! Sorry I did not make the connection...

SimonRit avatar Aug 29 '22 20:08 SimonRit

The syntax has changed slightly for the pre-release channel (which is what we recommend using).

view(..., view_mode='x') -> view(..., view_mode='XPlane')

with the options of XPlane, YPlane, ZPlane, or Volume (the default is Volume).

bnmajor avatar Dec 08 '23 17:12 bnmajor