Skip to content

BUG: Ghost traces after zooming/panning when data has gaps (null) #6407

Closed
@dbuezas

Description

@dbuezas

After zooming, a second trace appears and stays in the same spot independent of further panning.

plotly bug

Here's a minimal way of reproducing it:

Plotly.newPlot('myDiv', [{
  x: [1, 2, 3, 4],
  y: [1,null,3,4],
}]);

https://codepen.io/davsbb/pen/WNKeVba

Activity

changed the title [-]BUG: Ghost traces after zooming/panning[/-] [+]BUG: Ghost traces after zooming/panning when data has gaps (null)[/+] on Dec 20, 2022
alexcjohnson

alexcjohnson commented on Dec 20, 2022

@alexcjohnson
Collaborator

Thanks for the simplified example @dbuezas !

Seems this problem appeared between v2.14.0 and v2.15.0 - @archmoj the only thing I see in there that touched line drawing is the angleref work #6297. Let's put this in line for immediately after the 2.17 feature work is complete.

Meantime, if you're hitting this problem please downgrade to v2.14.0

self-assigned this
on Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @dbuezas@alexcjohnson@archmoj

    Issue actions

      BUG: Ghost traces after zooming/panning when data has gaps (null) · Issue #6407 · plotly/plotly.js