Skip to content

Draw() & update() fails to draw traces when first trace y property consists of nulls #2661

@GlennMatthys

Description

@GlennMatthys

Reproduction link (newPlot): https://jsfiddle.net/n1teax2o/2/
Reproduction link (update): https://jsfiddle.net/703a5bnf/1/

Observed behavior: When drawing two or more traces, and the first trace's y property is all nulls, no traces are drawn even if subsequent traces do not have nulls in their y property.

Expected behavior: Traces that don't have nulls in their y property are drawn correctly.

As a side note, the intention of this graph in particular is to only draw markers where (x, y) !== null and not draw markers where (x, y) === null. End result like this:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions