plotly.js
plotly.js copied to clipboard
Pie chart leader lines are not cleaned up when layout height changes in call to Plotly.react
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:

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?