Skip to content

Stacked Area cross-trace calc error #3013

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

Closed
nicolaskruchten opened this issue Sep 14, 2018 · 0 comments
Closed

Stacked Area cross-trace calc error #3013

nicolaskruchten opened this issue Sep 14, 2018 · 0 comments
Assignees
Labels
bug something broken

Comments

@nicolaskruchten
Copy link
Contributor

This figure causes an error and doesn't render, as far as I can tell because the second trace doesn't have x:

{
  "data": [
      {
        "type": "scatter",
        "x": [1,2,3],
        "y": [1,2,3],
        "stackgroup": 1,
      },
      {
        "type": "scatter",
        "y": [1,2,3],
        "stackgroup": 1
      }
    ],
    "layout": {},
    "frames": []
  }

This one fails for a different reason (orientation=h) with a similar stack trace:

{
  "data": [
    {
      "type": "scatter",
      "orientation": "h",
      "stackgroup": 1,
      "y": [
        16.99,
        10.34,
        21.01,
        23.68,
        24.59,
        25.29,
        8.77,
        26.88,
        15.04,
        14.78,
      ]
    },
    {
      "type": "scatter",
      "mode": "markers",
      "stackgroup": 1,
      "y": [
        1.01,
        1.66,
        3.5,
        3.31,
        3.61,
        4.71,
        2,
        3.12,
        1.96,
        3.23,
      ]
    }
  ],
  "layout": {},
  "frames": []
}
@etpinard etpinard added the bug something broken label Sep 14, 2018
@alexcjohnson alexcjohnson self-assigned this Sep 15, 2018
alexcjohnson added a commit that referenced this issue Sep 17, 2018
Fix #3013 - broken stacked area gap insertion case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

3 participants