Skip to content

performance issue when hovering on the blank area of a scattergl trace #7286

@likeben

Description

@likeben

Image

The hoverdata is empty and the default spikedistance is Infinity when hovering on the blank area of a scattergl trace, so this condition here will always be satisfied.

Image
In this situation, the cup usage will become 100% if the data is very large.

Activity

added
bugsomething broken
P2considered for next cycle
on Nov 26, 2024
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

    P2considered for next cyclebugsomething brokenperformancesomething is slow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gvwilson@likeben

        Issue actions

          performance issue when hovering on the blank area of a scattergl trace · Issue #7286 · plotly/plotly.js