enthought / enthought/mayavi

Is it possible to use one array instead of three in mlab.plot3d?

Open
#1,072 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

Hi, in the following code it seems that passing one argument as a list of points is foreseen:
https://github.com/enthought/mayavi/blob/e360db9b5edec706501cfb40579b71afd8f79abb/mayavi/tools/sources.py#L942-L945

However, the following part later prevents it:
https://github.com/enthought/mayavi/blob/master/mayavi/tools/sources.py#L1198-L1199

Am I looking at it right, or is it always needed to separate the Xs, Ys and Zs into three args?

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.