ndim¶

property ImageWidget.ndim: int¶

Number of dimensions of grayscale data displayed in the widget (it will be 1 more for RGB(A) data)