PyQtGraph 0.13.0 Released!

59 views
Skip to first unread message

Ognyan Moore

unread,
Sep 27, 2022, 4:00:55 PM9/27/22
to pyqt...@googlegroups.com
Just released PyQtGraph 0.13.0 which includes more than 100 PRs.

The main change is we have deprecated support for Qt5 < 5.15 and Qt6 < 6.2.  There are now conda-forge and defaults channel conda packages for Qt 5.15, so the only folks that I can imagine might be impacted are those that are using debian packages of the python qt bindings, and are stuck on an older version of linux.

PyQt6 6.3.2+ has a new internal data structure, sip.array which we can implement to pass numpy arrays to QPainter more directly. This allows for significantly better draw performance, which is very noticeable when working with curves.  No changes to user-code is needed to implement this feature, just having PyQt6 6.3.2 is sufficient.

A new feature to parameter trees was introduced called interactive parameters.  They allow for easier configuration of callback functions, and things of that nature.  You can read about them in the docs here: https://pyqtgraph.readthedocs.io/en/latest/parametertree/interactiveparameters.html

If working with PlotCurveItems where you specify connect='array' or connect='pairs', consider toggling pyqtgraph.setConfigureOption("enableExperimental", True), as there is now a feature to construct a QPainterPath using QPainterPathPrivate; which we do using the ctypes module.  Highly experimental, but yields significant performance improvements.

There are countless bug improvements, slight API enhancements and such; please give the release a go and report back.

Here is a link to the twitter thread which has more information and some screenshots: https://twitter.com/pyqtgraph/status/1574831406219345920

Thanks you all!
Reply all
Reply to author
Forward
0 new messages