enthought / enthought/mayavi

tvtk_segmentation - IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices

Open
#1,115 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.