-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Just wanted to let you know that any version of plotly after 2.16.5 is not able to plot the most simple scatter3d.
Any other more recent version:

var xx = Array.from({length: 500}, () => Math.random()*(6-3)+3);
var yy = Array.from({length: 500}, () => Math.random()*(6-3)+3);
var zz = Array.from({length: 500}, () => Math.random()*(6-3)+3);
var trace1 = {
// x:unpack('events', 'x'), y: unpack('events', 'y'), z: unpack('events', 'z'),
x:xx,y:yy,z:zz,
type: 'scatter3d',
mode: 'markers',
marker: {
color: 'rgb(17, 157, 255)',
opacity: 0.5,
size: 5,
symbol: 'circle',
line: {
color: 'rgba(217, 217, 217, 0.14)',
width: 0.5},
}
};
var trace2 = {
// x:unpack('stations', 'x'), y: unpack('stations', 'y'), z: unpack('stations', 'z'),
x:xx,y:yy,z:zz,
type: 'scatter3d',
mode: 'markers',
marker: {
color: 'rgb(127, 127, 127)',
opacity: 1.0,
size: 12,
symbol: 'circle',
line: {
color: 'rgb(204, 204, 204)',
width: 1},
}
};
var data = [trace1, trace2];
var layout = {
showlegend: true,
};
var config = {
responsive: false,
scrollZoom: true,
displayModeBar: true
}
Plotly.newPlot('myDiv', data, layout, config);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
