Skip to content

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

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
dbuezas opened this issue Dec 18, 2022 · 1 comment · Fixed by #6429
Closed

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

dbuezas opened this issue Dec 18, 2022 · 1 comment · Fixed by #6429
Assignees
Labels
regression this used to work

Comments

@dbuezas
Copy link

dbuezas commented Dec 18, 2022

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

@alexcjohnson
Copy link
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

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

Successfully merging a pull request may close this issue.

3 participants