Hello everyone,
I am currently struggling to use pyqtgraph for realtime ploting of 64
curves à >1k samples with a samplingrate of >1kHz. I found the "Multiple
plots" example which shows the use of PlotCurveItem to increase the
performance which really improves the update time. But as I draw every
curve in a seperate plotwidget refresh rate is not as high as in the
example. So I wanted to try downsampling. But if I call setDownsampling for
a plot the following exception is generated:
Traceback (most recent call last):
File
"C:\Python27\lib\site-packages\pyqtgraph\graphicsItems\PlotItem\PlotItem.py"
, line 952, in updateDownsampling
c.setDownsampling(ds, auto, method)
AttributeError: 'PlotCurveItem' object has no attribute 'setDownsampling'
Interestingly the program continues to run. To reproduce this behaviour
just add p.setDownsampling(ds=True) to the Multiple plots" example e.g. in
line after
p.setLabel('bottom', 'Index', units='B') .
best regards,
Nox
--
You received this message because you are subscribed to the Google Groups
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyqtgraph/7f4688ab-b194-4034-b626-adf4bad17d81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.