I have multiple items displayed on the pyqtgraph plotWidget, an image and 
some lines. When I update the image, the line are also removed and not 
displayed. Could someone advise a way to update the image without removing 
the lines (I do not want to redraw the line again since it will delay the 
real-time display)?

Example:
import numpy as np 
import pyqtgraph as pq 
img = np.random.rand(100,100) 
itemShow = pg.ImageItem(img.T) 
imgItem = imWidget.addItem(itemShow) 
penL = pg.mkPen('r') 
lineItem = imWidget.addLine(x=100, pen=penL)

After I updating the imgItem , the line is disappeared at the window.

-- 
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/02461156-a88a-4701-be56-9adc70173d91n%40googlegroups.com.

Reply via email to