enthought / enthought/mayavi

TypeError: isinstance() arg 2 must be a type or tuple of types

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

Description

```
mlab.points3d(pc[:, 0], pc[:, 1], pc[:, 2], mode="point", color=color, figure=fig)
File "/usr/local/lib/python3.6/dist-packages/mayavi/tools/helper_functions.py", line 37, in the_function
return pipeline(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/mayavi/tools/helper_functions.py", line 74, in __call__
assert isinstance(figure, (Scene, None))
TypeError: isinstance() arg 2 must be a type or tuple of types

```

Obviously this usage is not allowed in python3

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.