Skip to content

Error when deleting traces with stackgaps #3002

Closed
@dmt0

Description

@dmt0

When deleting traces with stackgaps:

factory.js?b9b2:113 Error while plotting: TypeError: Cannot read property ‘stackgaps’ of undefined
   at makePoints (plotly-with-meta.js?ab3a:163163)
   at plotOne (plotly-with-meta.js?ab3a:163270)
   at SVGGElement.eval (plotly-with-meta.js?ab3a:162817)
   at eval (plotly-with-meta.js?ab3a:19075)
   at d3_selection_each (plotly-with-meta.js?ab3a:19081)
   at Array.d3_selectionPrototype.each (plotly-with-meta.js?ab3a:19074)
   at Object.plot [as plotMethod] (plotly-with-meta.js?ab3a:162816)
   at SVGGElement.eval (plotly-with-meta.js?ab3a:116057)
   at eval (plotly-with-meta.js?ab3a:19075)
   at d3_selection_each (plotly-with-meta.js?ab3a:19081)

To reproduce
https://codepen.io/dmt0/pen/dqemWo?editors=0010 newPlot @ 0, react @ 1

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