plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

Pie chart leader lines are not cleaned up when layout height changes in call to Plotly.react

Open tysonliddell opened this issue 4 years ago • 0 comments

Version: plotly-1.58.4.js CodePen: https://codepen.io/tysonliddell/pen/qBRGVzV

When calling Plotly.react to resize a pie chart, the leader lines are left on the graph leaving a mess like the following:

image

If I change datarevision in the layout when calling Plotly.react, the lines are then redrawn properly. Shouldn't the leader lines lines redraw if the layout changes, but the data remains constant though?

tysonliddell avatar Apr 29 '21 12:04 tysonliddell