Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data missing when multiple parcoords traces #3361

Closed
jonmmease opened this issue Dec 21, 2018 · 7 comments
Closed

data missing when multiple parcoords traces #3361

jonmmease opened this issue Dec 21, 2018 · 7 comments
Labels
bug something broken regression this used to work

Comments

@jonmmease
Copy link
Contributor

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);

newplot-5

This worked fine in 1.31.0, seems to have broken in 1.32.0, and remains broken in 1.33.0.

@etpinard etpinard added the bug something broken label Dec 21, 2018
@archmoj archmoj added the regression this used to work label May 30, 2019
@archmoj archmoj self-assigned this May 30, 2019
@archmoj
Copy link
Contributor

archmoj commented May 30, 2019

Codepen

@archmoj
Copy link
Contributor

archmoj commented May 30, 2019

Likely related to #2159.

@archmoj
Copy link
Contributor

archmoj commented May 30, 2019

This is the result of this commit: e6fcbf5
Screenshot from 2019-05-30 14-48-49

@emmanuelle
Copy link
Contributor

@archmoj archmoj removed their assignment Mar 3, 2020
@tzhang-lilly
Copy link

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...

@gvwilson
Copy link
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken regression this used to work
Projects
None yet
Development

No branches or pull requests

7 participants