Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graph_objs.Scatter slow for large-ish data sets #60

Closed
sbowman-mitre opened this issue Jun 30, 2017 · 7 comments
Closed

graph_objs.Scatter slow for large-ish data sets #60

sbowman-mitre opened this issue Jun 30, 2017 · 7 comments

Comments

@sbowman-mitre
Copy link

Hi, I'm using Scatter to plot ~300K data points and finding slow rendering performance. Is this directly related to Plotly.js #741 or is this independent?

@chriddyp
Copy link
Member

Try go.Scattergl instead: it's the WebGL version (instead of SVG). There are some more links and discussion the second part of the "Performance" chapter about graphs: https://plot.ly/dash/performance

@sbowman-mitre
Copy link
Author

Yes! That is much improved performance! Thanks.

@thusithaC
Copy link

Are there 3D alternatives to scattergl and pointcloud?

@chriddyp
Copy link
Member

@thusithaC - Scatter3d (https://plot.ly/python/3d-scatter-plots/) is the plotly WebGL enabled 3D scatter plot

@thusithaC
Copy link

@chriddyp Thanks. In that case I guess no easy way of solving the issue i have raised in plotly/plotly.py#893 .

@chriddyp
Copy link
Member

@thusithaC - There isn't. I'd also recommend checking out the issues or reposting your issue in https://github.com/plotly/plotly.js - that's the project for the underlying graphing library that Dash and Plotly.py use.

We'd definitely like to improve the performance of all of these chart types but they are big projects and we're looking for institutional or corporate sponsors to fund the work (See https://plot.ly/products/consulting-and-oem/). Thanks to one commercial sponsor, we're in the process of revamping the 2D scattergl plot in plotly/plotly.js#1869

byronz pushed a commit that referenced this issue Apr 23, 2019
Check that id exists before triggering callback.
HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 22, 2021
…y integration (plotly#60)

* add `className` and `style` to parent containers where possible

* reorder props so that `options` and `value` are among the first

these are the most common options, so they should appear first

* clean up passing props through to component

this wasn’t causing any bugs but it was passing unnecessary props into
the child components

* style fixes

* move marks and value to the first props as well

* fresh metadata.json

* Integrate Percy screenshot tests

* add the other components to the integration screenshot test
HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 28, 2021
include package.json in manifest
HammadTheOne pushed a commit that referenced this issue Jul 23, 2021
include package.json in manifest
AnnMarieW pushed a commit to AnnMarieW/dash that referenced this issue Jan 6, 2022
…y integration (plotly#60)

* add `className` and `style` to parent containers where possible

* reorder props so that `options` and `value` are among the first

these are the most common options, so they should appear first

* clean up passing props through to component

this wasn’t causing any bugs but it was passing unnecessary props into
the child components

* style fixes

* move marks and value to the first props as well

* fresh metadata.json

* Integrate Percy screenshot tests

* add the other components to the integration screenshot test
@jvdd
Copy link

jvdd commented Mar 2, 2022

If you are working in Python, it might be interesting to consider plotly-resampler when you want to visualize larger datasets.

This extension adds resampling functionality to Plotly figures (by running an under the hood dash app), allowing to visualize tons of datapoints while being responsive.

Hope this might help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants