Closed
Description
Originally reported in plotly/plotly.py#1372
When multiple parcoords
traces are placed in the same figure, the data lines only show up for the first trace. Subsequent traces display their axes, but no data lines.
CodePen: https://codepen.io/jonmmease/pen/xmqqJP
Code:
var fig = {
"data": [
{
"dimensions": [
{
"constraintrange": [
1,
2
],
"label": "A",
"range": [
1,
5
],
"values": [
1,
4
]
},
{
"label": "B",
"range": [
1.5,
5
],
"tickvals": [
1.5,
3,
4.5
],
"values": [
3,
1.5
]
}
],
"domain": {
"x": [
0,
0.45
],
"y": [
0,
1
]
},
"line": {
"color": "blue"
},
"type": "parcoords"
},
{
"dimensions": [
{
"constraintrange": [
1,
2
],
"label": "C",
"range": [
1,
5
],
"values": [
1,
4
]
},
{
"label": "D",
"range": [
1.5,
5
],
"tickvals": [
1.5,
3,
4.5
],
"values": [
3,
1.5
]
}
],
"domain": {
"x": [
0.55,
1
],
"y": [
0,
1
]
},
"line": {
"color": "blue"
},
"type": "parcoords"
}
],
"layout": {
"title": "Multi-Parcoords Diagram"
}
}
Plotly.plot('plotly-div', fig);
This worked fine in 1.31.0, seems to have broken in 1.32.0, and remains broken in 1.33.0.