-
Notifications
You must be signed in to change notification settings - Fork 153
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
Explore alternative frameworks to speed up scatter plots #722
Comments
cc @nmearl @stscieisenhamer @ibusko, in case you have any insight relating to PyQtGraph and performance |
Just for info, PyQtGraph, while fast for lines, is not going to work for scatter plots: pyqtgraph/pyqtgraph#217 |
Indeed. While fast scatter plots are possible in PyQtGraph using OpenGL (specifically, the GLScatterPlotItem widget), the author has indicated that the pipeline will be replaced with VisPy.
|
As a side note, you can get some pretty good performance gains by enabling down sampling and view clipping. import pyqtgraph as pg
import numpy as np
pw = pg.plot(title="Testing")
pw.setDownsampling(ds=True, auto=True, mode='peak')
pw.setClipToView(True)
pw.plot(np.arange(1e5), np.random.sample(1e5), symbol='o') |
Also requested in #403, and the official issue to keep track of this is glue-viz/glue-vispy-viewers#138. |
This isn't so much of a problem anymore now with the scatter density plots, so closing |
We should explore the use of VisPy and PyQtGraph to make scatter plots. This issue is to keep track of findings related to this.
The text was updated successfully, but these errors were encountered: