Skip to content

Gridlines duplication after adding and removing trace #1760

Closed
@fhurta

Description

@fhurta

In a graph using overlaying on y-axis, if I add trace and remove it later, there remain vertical gridlines.

The issue can be reproduced by this codepen. If you add trace, then remove it and scroll on x-axis, you can see the original vertical gridlines remain there.

I originally reported this as comment to #1218 - as problem in Plotly.redraw() but I tried to workaround it using addTraces/deleteTraces and it still produces those duplicated gridlines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions