Skip to content

Invisible traces in 1.17.0+ when using Plotly.redraw #942

Closed
@tim-hutchinson

Description

@tim-hutchinson

In my use of Plotly, I frequently end up with an empty placeholder created while data is retrieved, then update it with new data using Plotly.redraw(). After 1.17, only one trace is drawn in a scatter plot when following this method. The legend and tooltips are created as expected, but the actual trace is missing from the chart. A quick check indicates this is also true if calling through Plotly.update()
CodePen

image

I've checked past versions and it looks like it's working as of 1.16.3, but not from 1.17.0 - 1.17.2
CodePen working in 1.16.3

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