-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
bugsomething brokensomething broken
Description
Experimenting with the tetrahedron codepen setting the vertexcolor property does not seem to work, facecolor though works as expected.
var data = [{
type: "mesh3d",
opacity:0.7,
x: [0, 1, 2, 0],
y: [0, 0, 1, 2],
z: [0, 2, 0, 1],
i: [0, 0, 0, 1],
j: [1, 2, 3, 2],
k: [2, 3, 1, 3],
// color:'rgb(200,100,300)',
// facecolor: [ 'rgb(255, 0, 0)', 'rgb(0, 0, 255)', 'rgb(0, 255, 0)', 'rgb(255, 255, 255)' ],
vertexcolor: [ 'rgb(255, 0, 0)', 'rgb(0, 0, 255)', 'rgb(0, 255, 0)', 'rgb(255, 255, 255)' ],
}
];
Plotly.plot('myDiv', data, {});
Metadata
Metadata
Assignees
Labels
bugsomething brokensomething broken