Skip to content

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

Open

Description

@tysonliddell

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?

Activity

  1. self-assigned this
    on Jun 25, 2024
  2. removed their assignment
    on Aug 2, 2024
  3. emilykl commented on Aug 30, 2026

    @emilykl
    Contributor

    Likely the same root cause as #4979; ideally a fix would resolve both issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething broken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions