pijyoi
pijyoi
After some trial and error, I found that the pyqtgraph curve gets painted if the following line from your qml file is removed: ``` legend.visible: false ```
A MWE that demonstrates the issue on PySide6. 1) the use of QtCharts is required to trigger the issue 2) setting the qml source before adding the `PlotCurveItem` is required...
As an alternative to using QML, a `QChart` can be added directly to a `pg.GraphicsLayoutWidget`. ```python from PySide6 import QtCharts import pyqtgraph as pg pg.mkQApp() win = pg.GraphicsLayoutWidget() chart =...
PySide6 6.8 will include bindings for QtGraphs, which apparently is the successor to QtCharts. The following QML code using QtGraphs doesn't exhibit the issues that were present with QtCharts. (tested...
ImageItem will map pixels with values >= max_set_level (100_000 in your example) to lut entry 255 and values
You are suspecting that it is due to a "race condition" because you are using multiple threads?
It seems that over the course of your program execution, you will create new instances of PlotWidget? What happens to previous instances of PlotWidget?
Presumably the code that instantiates the new PlotWidget is in some slot that gets triggered by some signal? You could try changing the connection to that slot to a QueuedConnection.
From the library code, such a situation could happen in the following circumstances: 0) auto downsample is initially off 1) user updates the image with data containing nans * library...
I have been using ImageItem with nans for transparency for quite a few months with no issues with zooming. I use the master branch. In fact zooming doesn't trigger a...