Skip to content

update multiplePlotSpeedTest.py to use PlotCurveItem instead of QGraphicsPathItem#2426

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:update-multiple-plots
Sep 25, 2022
Merged

update multiplePlotSpeedTest.py to use PlotCurveItem instead of QGraphicsPathItem#2426
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:update-multiple-plots

Conversation

@pijyoi
Copy link
Copy Markdown
Contributor

@pijyoi pijyoi commented Sep 24, 2022

This example demonstrates how to plot multiple curves (all of the same color) using a single Item.
The original version uses QGraphicsPathItem, but apparently using PlotCurveItem is several times faster.

using PlotCurveItem is apparently several times faster than a
QGraphicsPathItem.
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Sep 25, 2022

I was just thinking, we should have an example showing how to do this... Thanks @pijyoi this LGTM, merging!

@j9ac9k j9ac9k merged commit 1767bd8 into pyqtgraph:master Sep 25, 2022
@pijyoi pijyoi deleted the update-multiple-plots branch September 25, 2022 05:42
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

Successfully merging this pull request may close these issues.

2 participants