data missing when multiple parcoords traces
See original GitHub issueOriginally reported in https://github.com/plotly/plotly.py/issues/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.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Missing data when Supplying a Dual-axis--Multiple-traces to ...
Data is provided at the bottom of the question. I am trying to use subplot with plotly objects which one of them has...
Read more >Python Figure Reference: parcoords Traces - Plotly
Parcoords trace is a graph object in the figure's data list with any of the named arguments or attributes listed below. Parallel coordinates...
Read more >PlotlyWidget.add_surface — Kaleidoscope 0.0.13.dev13+3c1f2c3 ...
The data the describes the coordinates of the surface is set in z . ... of some user-driven changes to the trace: constraintrange...
Read more >COVID-19 in SEA and the Philippines | Kaggle
Explore and run machine learning code with Kaggle Notebooks | Using data from COVID-19 ... With multiple `stackgroup`s or some traces stacked and...
Read more >tidyverse, plotly Flashcards - Quizlet
For hierarchical data: use jsonlite (by Jeroen Ooms) for json, and xml2 for XML. ... changes to the trace: `constraintrange` in `parcoords` traces, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is the result of this commit: https://github.com/plotly/plotly.js/pull/2159/commits/e6fcbf51de4b41db470b7194835b20f57f06098f
Hi, I think the bug is not related to the constraints on the graph. I had the same issue with the stackoverflow post. With multiple subplots, only the first graph would show up…