Skip to content

Stacked Area cross-trace calc error #3013

Closed

Description

@nicolaskruchten

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": []
}

Activity

  1. self-assigned this
    on Sep 15, 2018
  2. added a commit that references this issue on Sep 15, 2018
    c602148
  3. added a commit that references this issue on Sep 17, 2018
    ed39d82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions