tvtk_segmentation - IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices #1115
mayavi\tvtk_segmentation.py", line 52, in <module>
lower_thr = sorted_data[0.2*l]
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
https://docs.enthought.com/mayavi/mayavi/auto/example_tvtk_segmentation.html#example-tvtk-segmentation