Skip to content

Plot running slow when many points are displayed #741

Description

@ifll

I have noticed that the more points you are displaying in a scatterplot the more computing power it requires to interact with the plot, and there could appear some lagging while using plotly...

In my case I have to plot over 50k points in a scatter plot, which makes it necessary not to be so "laggy"...

Is there any solution to increase the performance of the plot?

i have realised that when I hover my cursor over an area from the plot with high point density (lets say 10000 points per cm2) it is more "laggy" than when I hover the mouse in an area with lower point density (100 points per cm2). At the time I am hovering the mouse over there is some information which appears on the "text" field of the marker. Is there any way to fire this option only at the moment that the cursor is steady for "X" seconds instead of always? (I guess that with this solution plotly would run much smoother, as it would only refresh the information when the cursor is steady and not always)

If anyone have any other ideas on how to plot over 50k points in a scatter plot with plotly and make them run smooth please help me.

Thank you

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions